drop down menu not working...

Go down

Solved drop down menu not working...

Post by JAN2XONLINE on September 15th 2010, 4:42 pm

my problem is when i choose one on the list and click it, its not going to that page...but i have the link of that page

but when im just previewing the page in HTML management, its working -_-


my codes:
Spoiler:
black













ACTION="../cgi-bin/redirect.pl"
METHOD=POST onSubmit="return dropdown(this.gourl)">

Choose your destination...ForumPortalRegister in the site now!




"Drop down menu is not working properly for now so don't use it, I will tell you guys if it works already. Thanks"

"OR IF YOU WANT TO GO IN PORTAL NOW, CLICK THE IMAGE BELOW."








my html page:


i just highlighted the page


if u want to see it, go to my site: my site
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: drop down menu not working...

Post by Guest on September 15th 2010, 4:50 pm

Can you give me the code, or do you want me to make a new one for you? Razz

Guest
Guest


Back to top Go down

Solved Re: drop down menu not working...

Post by JAN2XONLINE on September 15th 2010, 8:07 pm

if thats ok, u can make me a new drop down menu sir...xD
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: drop down menu not working...

Post by Guest on September 15th 2010, 8:08 pm

Good xD just give me some time :=O

Edit:
Try this in your html page:

Put these codes in the <head> tag:
Code:

<style type="text/css">

input[type="button"] {
   font-size: 0.9em;
   border: 1px solid #006699;
   width: auto !important;
   margin: 0px 0.25em 0;
   padding: 6px;
   font-family:Arial, Helvetica, sans-serif;
   color: #000000;
   -moz-border-radius: 3px;
   -webkit-border-radius: 3px;
   height: 30px;
   background-color: #dfdfdf;
   background-image: url('http://hitskin.com/themes/14/56/31/i_list_bg.png');
   background-position: top;
   overflow: visible;
   vertical-align:middle;
   }
         
 
   #select {
   border: 1px solid #006699;
   width: auto !important;
   padding: 3px;
   font-family:Arial, Helvetica, sans-serif;
   color: #000000;
   -moz-border-radius: 3px;
   -webkit-border-radius: 3px;
   height: 30px;
   background-color: #dfdfdf;
   background-image: url('http://hitskin.com/themes/14/56/31/i_list_bg.png');
   background-position: top;
   overflow: visible;
   vertical-align:middle;
   }

</style>

<script type="text/javascript">

var thetext2=new Array()
thetext2[0]="Go to the welcome page."
thetext2[1]="Enter the forum Index."
thetext2[2]="Enter the forum Portal."
thetext2[3]="Go to the login form."
thetext2[4]="Go to the Registration form."


function displaydesc(which, descriptionarray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}


displaydesc(document.form1.select1, thetext1, 'textcontainer1')
displaydesc(document.form2.select2, thetext2, 'textcontainer2')

</script>

Put this in the <body> tag:
Code:

<!--drop down menu begin-->

<form name="form2">
<select name="select2" id="select" size="1" onChange="displaydesc(document.form2.select2, thetext2, 'textcontainer2')">
<option selected value="http://strawhatclan.findtalk.biz/">Homepage</option>
<option value="http://strawhatclan.findtalk.biz/index.htm">Forum</option>
<option value="http://strawhatclan.findtalk.biz/portal.htm">Portal</option>
<option value="http://strawhatclan.findtalk.biz/login.forum?connexion">Login</option>
<option value="http://strawhatclan.findtalk.biz/profile.forum?mode=register">Register</option>
</select>
 <input type="button" value="Go"
onClick="jumptolink(document.form2.select2)"><br>
<span id="textcontainer2" align="left" style="font:italic 13px Arial">
</span>
</form>

<!--drop down menu end-->

Guest
Guest


Back to top Go down

Solved Re: drop down menu not working...

Post by JAN2XONLINE on September 16th 2010, 1:17 am

ur so kind sir!!!!

thank you so much!
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: drop down menu not working...

Post by Sanket on September 16th 2010, 8:47 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile

avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum