Search…

X3 Photo Gallery Support Forums

Search…
 
eskimo121
Experienced
Topic Author
Posts: 104
Joined: 01 Jun 2012, 21:22

Horizontal Menu - external links

02 Nov 2012, 15:50

Hello is there a way to have an menu on top horizontally along with the normal vertical default Gallery menu ? Please check attached image for reference. What im talking about is having an menu on top like regular sites with items like jokes, videos , sports etc which when clicked will lead to external sites. (so i can use imagevue as a subsection of my main site, and users can explore other places if they get bored of images).

Is the floating menu (similar to social thing) the only way to do it? or can i just edit some specific HTML files and make them show up in the background ?


Regards,
eskimo
Amazing pictures
Attachments
Untitled.jpg
Untitled.jpg (74.57 KiB) Viewed 2292 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Horizontal Menu - external links

03 Nov 2012, 01:07

eskimo121 wrote:Is the floating menu (similar to social thing) the only way to do it? or can i just edit some specific HTML files and make them show up in the background?
Well, it would be similar as the social-thing, but that is the same as editing a html file. Technically, the only reason why you are adding the html through the admin, is because then it gets saved in XML and preserved even after Imagevue upgrades. If you edit a html template file directly (which you can), you will need to re-apply any customizations after you upgrade Imagevue.

Anyway, this is pretty simple. You need to add your top menu into a <div> tag and layer it above the SWF by using css position:absolute;. Something like this:
Code
<div style="text-align:center;position:absolute;top:0px><a href="">Text1</a><a href="">Text2</a></div>
It would of course be best to add separate CSS so that you can style the links properly without using inline styles. The above code, you could just paste into Imagevue admin -> settings -> seo.footercode.