vForums Support > Programming & Coding :: Programming Discussion :: > Drop-Down Menu

Drop-Down Menu - Posted By Pixel Drixel (gfxman) (gfxman) on 27th Mar 08 at 8:52pm
Hey I just created a drop down menu. It works but it takes so long for the page to load. Is there anyway to fix this? If I can fix it I'll set it up on vforums as a forum navigation.

Code:
Code:
 
  1. <BODY><div id="gfxmanspage">
  2.  
  3. <form name="jump">
  4. <select name="menu">
  5. <option>---Select Site---</option>
  6. <option value="http://gfxmantesting.vforums.co.uk">Home Page</option>
  7. <option value="http://gfxmantesting.vforums.co.uk/action/admin">Admin</option>
  8. </select>
  9. <input type="button" onclick="location-document.jump.menu.options[document.jump.menu.selectedindex].value;"
  10. value="go"></form></div></body>
 

Re: Drop-Down Menu - Posted By Michael (wrighty) on 27th Mar 08 at 10:15pm
try removing the body tags! {Smile}

Re: Drop-Down Menu - Posted By Pixel Drixel (gfxman) (gfxman) on 27th Mar 08 at 10:32pm
ok. I'll try that.


EDIT:
I tried it wrighty but it didn't work.

Re: Drop-Down Menu - Posted By Michael (wrighty) on 27th Mar 08 at 11:49pm
Can you show me where you're doing this?

And how slow is 'slow?

Re: Drop-Down Menu - Posted By Pixel Drixel (gfxman) (gfxman) on 28th Mar 08 at 7:04pm
Well when I have the body tags it worked but it went really slow loading the page. Now without body tags it doesn't work at all.

Here: http://gfxmantesting.vforums.co.uk

Re: Drop-Down Menu - Posted By Michael (wrighty) on 28th Mar 08 at 7:29pm
Doesn't load any slower than normaly it would for me.

Re: Drop-Down Menu - Posted By Pixel Drixel (gfxman) (gfxman) on 28th Mar 08 at 8:00pm
So it works for you.

Re: Drop-Down Menu - Posted By Michael (wrighty) on 28th Mar 08 at 8:05pm
Wlel I didn't test the actual thing, but it showed in no time at all, isn't that what you were saying.

Re: Drop-Down Menu - Posted By Pixel Drixel (gfxman) (gfxman) on 28th Mar 08 at 8:33pm
Ok so should I submit it to the database here?

Re: Drop-Down Menu - Posted By Michael (wrighty) on 28th Mar 08 at 8:45pm
I personally don't see what use it'll be! {Unsure}

Re: Drop-Down Menu - Posted By Pixel Drixel (gfxman) (gfxman) on 28th Mar 08 at 9:05pm
Ok I was just curious.