View Full Version : drop down menu on custom pages dont work
karlsson
11-19-2004, 03:35 PM
hi everybody,
i added custom pages to my site and call them in the following way: http://yoursite.com/index.php?page=pagename
when i navigate to one of this custom pages the drop down menus do not work anymore! the quick links link for example looks like
http://yoursite.com/index.php?page=pagename#usercptools and does not work anymore
is there anything i missed to add to my custom page template ?
:confused:
thanks a lot in advance for any hint ...
karlsson
Brian
11-19-2004, 04:36 PM
Can you post a link to your site?
karlsson
11-20-2004, 01:40 AM
Here it is:
http://new.donnerstags.org
A custom page would be:
http://new.donnerstags.org/index.php?page=liga
which can be found in the Menu.
Its best to be registered so you can see custom pages and
most important the navbar drop down menus shipped with vBadvanced ...
karlsson. :)
Brian
11-20-2004, 11:24 AM
I would suspect that there's a problem in the code for that additional page. What happens if you remvoe that iframe from the page?
karlsson
11-20-2004, 11:41 AM
Your are right. Removing the iframe solves the problem. But i need the iframe to embed another page. Or do you know another way to do this ?
:(
Brian
11-20-2004, 11:47 AM
There's something in that page then that's clashing with the vB javascript. Unfortunatly I couldn't really tell you a way around it.
karlsson
11-22-2004, 03:55 AM
when using an iframe inside of a page the vb(a) footer is not added to the page.
maybe this is the problem ?
the footer template contains java script code.
copy and paste did not help. the footer does not show !
how can i add the footer to my custom page ?
:confused:
karlsson.
karlsson
11-22-2004, 04:07 AM
the navbar now works on a custom page using iframe.
the solution is to put this code from the footer template:
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
// Initialize 'Active' Table Cells
//activecells_init();//-->
</script>
before the iframe tags in your custom pages
the only open question ist why the footer is not automatically added when using iframes ...
karlsson.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.