Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Navigation Menu Advice needed.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Navigation Menu Advice needed.

 Post Reply Post Reply Page  <1 234
Author
Maxi View Drop Down
Groupie
Groupie


Joined: 24 October 2002
Location: United Kingdom
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maxi Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2004 at 3:42pm

Hi Semikolon, thanks for the reply,

I just am not quite sure what you mean: I have done what you said, Is this written correctly for my cell:

<tr>
      <td width="50%" onMouseover="this.bgColor='bar1.gif'" onMouseout="this.bgColor='bar2.gif'"></td>
      <td width="50%">&nbsp;</td>
    </tr>

 

Must I change something in the head of the script also?

regards
Maxi

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2004 at 4:11pm

you used bgcolor instead of background

<tr>
      <td width="50%" bacground="bar2.gif" onMouseover="this.background='bar1 .gif'" onMouseout="this.background='bar2.gif'"></td>
      <td width="50%">&nbsp;</td>
</tr>



Edited by Semikolon
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2004 at 4:51pm

background - is for images

bgcolor - is for colors

you could also if you wanted do:

<script>
function bgover(cell){
    cell.background="bar2.gif"
}

function bgout(cell){
    cell.background="bar1.gif"
}
</script>

<tr>
      <td width="50%" bacground="bar2.gif" onMouseover="bgover(this)" onMouseout="bgout(this)">Text 1</td>
      <td width="50%">&nbsp;</td>
</tr>
<tr>
      <td width="50%" bacground="bar2.gif" onMouseover="bgover(this)" onMouseout="bgout(this)">Test 2</td>
      <td width="50%">&nbsp;</td>
</tr><tr>
      <td width="50%" bacground="bar2.gif" onMouseover="bgover(this)" onMouseout="bgout(this)">Test 3</td>
      <td width="50%">&nbsp;</td>
</tr><tr>
      <td width="50%" bacground="bar2.gif" onMouseover="bgover(this)" onMouseout="bgout(this)">Test 4</td>
      <td width="50%">&nbsp;</td>
</tr>

this way you can have more and if you changed the background image it wouldnt take for ever

not sure if it'd work havent tested it, but am sure it will

S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
Maxi View Drop Down
Groupie
Groupie


Joined: 24 October 2002
Location: United Kingdom
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maxi Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2004 at 5:11pm

Hi again Semikolon and Scotty_32
Semikolon, Tusind Tak Norge!! (English= Thousand thanks to Norway).

I posted a thankyou message but it dissapeared when I uploaded it. I had a few questions to ask, but thanks to you Scotty_32 they have been answered (difference between backround and bgcolor).

Scotty_32 I will definately try and implement your suggestion as it would be a huge timesaver if or when I change the colors.

Thanks guys its great to have some help out there!!

Do either of you have any suggestions regarding my other post in this category titled "Months between two dates", I have searched everywhere and have only found information on getting how many months there are between two dates.....when what I need is what are the month names or month numbers.

Thanks guys:)

Kind Regards from Finland
Maxi:)



Edited by Maxi
Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2004 at 9:28am

Originally posted by Maxi Maxi wrote:

Semikolon, Tusind Tak Norge!!

it wasnt all correct.. its Tusen takk Norge.. but who cares.. i did understand it!

Back to Top
 Post Reply Post Reply Page  <1 234

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.