SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member GenLock's Avatar
    Join Date
    Dec 2000
    Location
    New Bedford, MA
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a problem I'm hoping to find a simple solution for.

    Ready?

    Here goes:

    I run a large website that has 2 frames around the body;
    a left frame and a footer frame. Whenever a person searches for our website using a keyword on a search engine (such as Yahoo or Google) sometimes they are given the link to one of our body pages that when clicked on, takes them to the body of that page, but with NO FRAMES.

    This presents a dilemma at which I have been doing script searches for everywhere. I found one javascript that was way too large (our pages would probably take another 5 seconds to load, just because of the script! No can do my friends) and it required you to change this to this and that to that.

    In the advanced day and age we live in, I'd be pretty surprised if there wasn't something easier that I could just paste in the html of the bodies of these pages that wasn't a mile long and didn't require 30 hours of editing to make it work.

    In a nutshell, I need a script that will check to see if the frames are loaded & IF NOT, load them! That's it! But it also has to recognize that if they ARE LOADED, then don't be stupid, and load ANOTHER frameset as well.

    Someone got the answer, this would be most appreciated

    Thanx all,

    GenLock

    P.S. If you want to take a look at the site to get the idea of what I'm up against the URL is: http://www.findri.com

    And yes, I realise there are no META Tags, reason being?
    This very problem I'm dealing with.
    GenLock
    Edward A. Leonard
    WebMaster - findRI.com - Rhode Island's Online Magazine
    "Destroy Osama bin Laden, and all Terrorists A.S.A.P."

  2. #2
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In fact this is a very common problem these days, and thankfully JavaScript offers you a solution.

    From the HotScripts JavaScript repository check out the various 'force into frameset' scripts. There should be one to suit your needs.
    My 2 Cents (or is that 2.2 Cents including GST?)

  3. #3
    SitePoint Member GenLock's Avatar
    Join Date
    Dec 2000
    Location
    New Bedford, MA
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a million, the script worked outstanding...
    Way to go sitepoint!

    GenLock
    GenLock
    Edward A. Leonard
    WebMaster - findRI.com - Rhode Island's Online Magazine
    "Destroy Osama bin Laden, and all Terrorists A.S.A.P."


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
  •