Page 2 of 2 FirstFirst 12
Results 17 to 17 of 17

Thread: Frames & Javascript redirect

  1. #17
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Gateshead
    Posts
    15,196
    Thanks
    1,231
    Thanked
    2,291 times in 1,874 posts
    • scaryjim's system
      • Motherboard:
      • Dell Inspiron
      • CPU:
      • Core i5 8250U
      • Memory:
      • 2x 4GB DDR4 2666
      • Storage:
      • 128GB M.2 SSD + 1TB HDD
      • Graphics card(s):
      • Radeon R5 230
      • PSU:
      • Battery/Dell brick
      • Case:
      • Dell Inspiron 5570
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1080p laptop panel

    Re: Frames & Javascript redirect

    Wow, I actually knew something about web design 6 years ago!

    Try renaming your frame from "top" to something like "topframe" (I would expect "top" could cause problems as it's similar to a reserved name).
    This would be my first point of bug check. Using reserved words as variable/frame names is likely to cause issues; javascript is fairly permissive so when you use the keyword top it won't know if you're using the reserved keyword top which refers to the parent frameset, or the frame called top.

    However, I'm curious as to what you're trying to achieve by using a script here. It sounds like you want links in your other frames to always open in a main frame (rather than the frame in which the link is clicked). If that's so, you can do that without using javascript simply by adding target="framename" to the 'a' tag...
    Last edited by scaryjim; 12-05-2016 at 03:15 PM.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. x264 video encoding benchmark
    By graysky in forum PC Hardware and Components
    Replies: 89
    Last Post: 24-02-2008, 01:54 PM
  2. IEEE Capture drops hundreds of frames after installing Pinnacle USB box.
    By Mabus in forum Help! Quick Relief From Tech Headaches
    Replies: 1
    Last Post: 16-09-2006, 10:10 PM
  3. Dual Graphics Cards -- Alternating frames
    By Artic_Kid in forum Graphics Cards
    Replies: 49
    Last Post: 16-12-2005, 03:05 PM
  4. redirect, bookmarks & javascript site bug
    By directhex in forum HEXUS Suggestions
    Replies: 1
    Last Post: 21-11-2005, 11:14 AM
  5. is this hype?9800 pro owners beware
    By CrapshoT in forum Graphics Cards
    Replies: 9
    Last Post: 16-10-2003, 02:45 PM

Posting Permissions

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