Page 1 of 1

Need some programming help.

Posted: Thu Feb 28, 2008 4:36 pm
by Killer

Code: Select all

<p>&nbsp;</p>

<p align="center"><font face="Old English Text MT" color="#FFFFFF"><big><big><marquee
style="color: rgb(255,255,0)" border="0" behavior="alternate" width="744" height="54">Welcome to Bryson Independent School District</marquee></big></big></font></p>

<p align="center">&nbsp;</p>

<p align="left">&nbsp;</p>

<table border="0" cellpadding="0" cellspacing="0" width="325">
  <tr>
    <td width="325"><font color="#FFFFFF"><a href="Link%201"
    onmouseover="setOverImg('1','');overSub=true;showSubMenu('submenu1','button1');"
    onmouseout="setOutImg('1','');overSub=false;setTimeout('hideSubMenu(\'submenu1\')',delay);"
    target><img src="buttons/button1up.png" border="0" id="button1" vspace="0" hspace="0"
    width="125" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('2','');overSub=true;showSubMenu('submenu2','button2');"
    onmouseout="setOutImg('2','');overSub=false;setTimeout('hideSubMenu(\'submenu2\')',delay);"
    target><img src="buttons/button2up.png" border="0" id="button2" vspace="0" hspace="0"
    width="125" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('3','');overSub=true;showSubMenu('submenu3','button3');"
    onmouseout="setOutImg('3','');overSub=false;setTimeout('hideSubMenu(\'submenu3\')',delay);"
    target><img src="buttons/button3up.png" border="0" id="button3" vspace="0" hspace="0"
    width="125" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('4','');overSub=true;showSubMenu('submenu4','button4');"
    onmouseout="setOutImg('4','');overSub=false;setTimeout('hideSubMenu(\'submenu4\')',delay);"
    target><img src="buttons/button4up.png" border="0" id="button4" vspace="0" hspace="0"
    width="180" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('5','');overSub=true;showSubMenu('submenu5','button5');"
    onmouseout="setOutImg('5','');overSub=false;setTimeout('hideSubMenu(\'submenu5\')',delay);"
    target><img src="buttons/button5up.png" border="0" id="button5" vspace="0" hspace="0"
    width="128" height="26"></a><br>
    </font></td>
  </tr>
</table>



Ok, the problem with this code is this (ignore the X's):

Image

I need to make the sub menu pop up on the right, instead of below. Does anyone have any solutions? Anything wrong with the code?

Re: Need some programming help.

Posted: Thu Feb 28, 2008 4:54 pm
by Scorsese
I can't see the image, so I can't help.

Sry. :<

Re: Need some programming help.

Posted: Thu Feb 28, 2008 4:55 pm
by Sureaboutthis
play with ur vspace and hspace attributes :cat:

Re: Need some programming help.

Posted: Thu Feb 28, 2008 5:00 pm
by Aemora
Duh, even I know that. Adjust the y value and it should be npnpnp.

GOD KILLER SO NAB, AND I TOOK MUSIC IN SCHOOL!

Re: Need some programming help.

Posted: Thu Feb 28, 2008 5:19 pm
by Scorsese
&npsp; to you, Sure! :o

Re: Need some programming help.

Posted: Thu Feb 28, 2008 6:15 pm
by Praetor
Yar


No one uses this phrase anymore. Do the world a favor and go Mijin Gakure urself irl. Thx!

Re: Need some programming help.

Posted: Thu Feb 28, 2008 8:28 pm
by Sureaboutthis
<blink><big><big><marquee
style="color: rgb(255,255,0)" border="0" behavior="alternate" width="744" height="54">Welcome to Bryson Independent School District</marquee></big></big></blink>

fix'd :whistle:

Re: Need some programming help.

Posted: Thu Feb 28, 2008 8:56 pm
by Praetor
Praetor wrote:
Yar


No one uses this phrase anymore. Do the world a favor and go Mijin Gakure urself irl. Thx!



Fkn Scor. :pissed:

Re: Need some programming help.

Posted: Fri Feb 29, 2008 2:01 am
by Kujatsu
C'mon killer, you're supposed to be good a comps! :spin:

Re: Need some programming help.

Posted: Fri Feb 29, 2008 2:43 pm
by Maelicia
What's the code for the actual submenu itself? Usually you need to specify that as having position:absolute in the style, and define the top and left placement.

By the way tables are so 2005, you should be using divs and or CSS! :D

Try playing around with this: http://www.cssplay.co.uk/menus/flyoutt.html

Re: Need some programming help.

Posted: Fri Feb 29, 2008 5:13 pm
by Killer
I'm just running what my school gives me. ._.

Re: Need some programming help.

Posted: Fri Feb 29, 2008 5:18 pm
by Lolmy

Code: Select all

<p>&nbsp;</p>

<p align="center"><font face="Old English Text MT" color="#FFFFFF"><big><big><marquee
style="color: rgb(255,255,0)" border="0" behavior="alternate" width="744" height="54">Welcome to Bryson Independent School District</marquee></big></big></font></p>

<p align="center">&nbsp;</p>

<p align="left">&nbsp;</p>

<table border="0" cellpadding="0" cellspacing="0" width="325">
  <tr>
    <td width="325"><font color="#FFFFFF"><a href="Link%201"
    onmouseover="setOverImg('1','');overSub=true;showSubMenu('submenu1','button1');"
    onmouseout="setOutImg('1','');overSub=false;setTimeout('hideSubMenu(\'submenu1\')',delay);"
    target><img src="buttons/button1up.png" border="0" id="button1" vspace="0" hspace="0"
    width="125" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('2','');overSub=true;showSubMenu('submenu2','button2');"
    onmouseout="setOutImg('2','');overSub=false;setTimeout('hideSubMenu(\'submenu2\')',delay);"
    target><img src="buttons/button2up.png" border="0" id="button2" vspace="0" hspace="0"
    width="125" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('3','');overSub=true;showSubMenu('submenu3','button3');"
    onmouseout="setOutImg('3','');overSub=false;setTimeout('hideSubMenu(\'submenu3\')',delay);"
    target><img src="buttons/button3up.png" border="0" id="button3" vspace="0" hspace="0"
    width="125" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('4','');overSub=true;showSubMenu('submenu4','button4');"
    onmouseout="setOutImg('4','');overSub=false;setTimeout('hideSubMenu(\'submenu4\')',delay);"
    target><img src="buttons/button4up.png" border="0" id="button4" vspace="0" hspace="0"
    width="180" height="26"></a><br>
    <a href="*"
    onmouseover="setOverImg('5','');overSub=true;showSubMenu('submenu5','button5');"
    onmouseout="setOutImg('5','');overSub=false;setTimeout('hideSubMenu(\'submenu5\')',delay);"
    target><img src="buttons/button5up.png" border="0" id="button5" vspace="0" hspace="0"
    width="128" height="26"></a><br>
    </font></td>
  </tr>
</table>



thats what she said

Re: Need some programming help.

Posted: Fri Feb 29, 2008 6:27 pm
by Yorke
oh man, how do you guys interpret that shit

Re: Need some programming help.

Posted: Fri Feb 29, 2008 8:19 pm
by Praetor
Yorke wrote:oh man, how do you guys interpret that shit


When its what you do for a living it is as easy as reading a book.

Re: Need some programming help.

Posted: Sat Mar 01, 2008 12:37 am
by Safersephx
Sureaboutthis wrote:play with ur vspace and hspace attributes :cat:



i'll play with your vspace attributes :whip:

Re: Need some programming help.

Posted: Sat Mar 01, 2008 10:48 am
by Nieryo
do a barrel roll!