Results 1 to 4 of 4

Thread: Need browsing script

  1. #1
    Join Date
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need browsing script

    The script I'm looking for is probably common but its not too easy to explain.

    I want my site's menu to stay on top of the net browser while my viewers are browsing the sites of my affiliates linked on my site.

    Thats the best I can explain it. I hope I'm posting in the right forum and thanks in advance.

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    You could do this with CSS: posistion:fixed;
    Say you have a menu like this:
    HTML Code:
    <div id="mymenu">
    Put this:
    HTML Code:
    <div id="mymenu" style="posistion:fixed;">
    or...
    add it to your existing CSS code.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    That's position: fixed; and it doesn't work with IE6. For IE6 you'd position the menu absolutely, then put everything else in a scrolling <div>.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by TheJye View Post
    The script I'm looking for is probably common but its not too easy to explain.

    I want my site's menu to stay on top of the net browser while my viewers are browsing the sites of my affiliates linked on my site.

    Thats the best I can explain it. I hope I'm posting in the right forum and thanks in advance.
    This sounds like frames or iframe(s). But, unless they are specifically prohibited from doing so, you 'affiliates' may code their sites to 'break out of frames'.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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