Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Oct 2003
    Location
    The wild blue yonder
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    My e-mail JS is apparently not in the ID?

    Hi all,

    Page is here and as you can see at the bottom, there is a footer. You can see the e-mail address, which is actually a Javascript.

    When I view the "topographic information" & "ID & Class details" through the FF Web Developer toolbar, I can see two things:

    1. The javascript is actually NOT contained within the footer ID. Why not?

    2. The area of the javascript goes almost all the way to the right, meaning that if the right content area ever gets too long, it pushes the entire footer downward. I don't want this because it does happen on occasion (when a long quote pops up).

    So, how can I either get the javascript inside the footer ID, meaning it will be constrained by the ID's width of 490px, or if that's not possible for some reason, how can I narrow the width of the javascripted text & e-mail link?

    CSS file is right here.

    Thanks a million!

    Chris

  • #2
    Regular Coder
    Join Date
    Oct 2003
    Location
    The wild blue yonder
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Fixed, nevermind. Had an open <p> tag.

    Chris

  • #3
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You should get a script to preload those navigation images.

  • #4
    Regular Coder
    Join Date
    Oct 2003
    Location
    The wild blue yonder
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Ranger56
    You should get a script to preload those navigation images.
    Nah. Every site-used image is preloaded through CSS on the index page. Better, I believe.

    Chris

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Not necessarily. If you understand how browsers work, for a css rollover you could use a background image and just change the background position on hover so it looks like another image but its only one image that moves position. The server won't need to make another call to get the new image.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •