PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > HTML/CSS/Javascript
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools
Old 9-3-02, 06:56 AM   #1
jamestrotta
 
Join Date: Aug 2002
Posts: 405
Reputation: 12
links and dropdowns on the same line?

I am looking to put two drop down link lists right next to each other (and all on the same line).

example: link - link - drop down - drop down

Is it possible?

Here is my code now (I know that the links aren't set up yet; this is all still a design idea...)

Thanks, Jim


<HTML>
<HEAD>

<TITLE>ESLgo.com</TITLE>

<SCRIPT TYPE="text/javascript">
<!--
function dropdown(mySel)
{
var myWin, myVal;
myVal = mySel.options[mySel.selectedIndex].value;
if(myVal)
{
if(mySel.form.target)myWin = parent[mySel.form.target];
else myWin = window;
if (! myWin) return true;
myWin.location = myVal;
}
return false;
}
//-->
</SCRIPT>

</HEAD>

<BODY>
<BASEFONT SIZE=7 COLOR=GREEN>E<BASEFONT SIZE=7 COLOR=BLUE>S<BASEFONT SIZE=7 COLOR=ORANGE>L<BASEFONT SIZE=7 COLOR=RED>go
<BASEFONT SIZE=5> - <A HREF=>About</A> - <A HREF=>FAQ's</A> - <A HREF=>Site map</A> - <A HREF=>Store</A> -

<FORM
ACTION="http://www.idocs.com/cgi-bin/redirect.pl"
METHOD=POST onSubmit="return dropdown(this.gourl)">
<SELECT NAME="gourl">
<OPTION VALUE="">Students

<OPTION VALUE="/tags/" >free online classes
<OPTION VALUE="/" >test yourself
<OPTION VALUE="http://www.ninthwonder.com" >buy self study books

</SELECT>

<INPUT TYPE=SUBMIT VALUE="Go">
</FORM>


<FORM
ACTION="http://www.idocs.com/cgi-bin/redirect.pl"
METHOD=POST onSubmit="return dropdown(this.gourl)">
<SELECT NAME="gourl">
<OPTION VALUE="">Teachers

<OPTION VALUE="/tags/" >free resorces
<OPTION VALUE="/" >jobs
<OPTION VALUE="http://www.ninthwonder.com" >buy teaching books

</SELECT>

<INPUT TYPE=SUBMIT VALUE="Go">
</FORM>



<BR>



<BR>
<BR>
<BR>
<table ALIGN=CENTER border=1 bordercolor=blue cellspacing=0
cellpadding=3 width=800 bgcolor=white>
<tr><td colspan=2 WIDTH=300><CENTER><font face=verdana
size=5 color=RED><B>Students</B><br><font color="magenta">
<P ALIGN=LEFT><font color=magenta size=3>online courses<BR>Watch movies and study English!<BR>Listen to music and study English!<br>
<BR><BR><BR>
<BR>
<td colspan=2><CENTER><font face=verdana
size=5 color=RED><B>Sponsors</B><br><BR>
<BR><BR><BR>
<BR>
<td colspan=2 WIDTH=300><CENTER><font face=verdana
size=5 color=RED><B>Teachers</B><br><font color="magenta">
<P ALIGN=LEFT><font color=magenta size=3><A HREF=http://www.geocities.com/gumpersag/roleplay.html>Roleplays</A><BR>Other speaking activities<BR>Reading activities<BR>Writing activities<BR>Tests/quizzes/worksheets<BR>Jobs<BR>Privates
</td>
</table>
</BODY>


</HTML>
jamestrotta is offline  
Old 9-3-02, 07:42 AM   #2
alphadesk
 
alphadesk's Avatar
 
Join Date: Dec 2001
Location: Gulfcoast, TX
Posts: 6,911
Reputation: 102
That can be done and will work, but you need to set the links and the drop down forms up in a table to make them all on the same line.

Add up all the links and forms you want on one line and make the table have that many columns.
__________________
Thanks,
AlphaDesk

Those who can read and don't are no better off than those who can't. - Sam Clemens
alphadesk is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:16 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.