Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > change a frames location

Reply
Thread Tools

change a frames location

 
 
Caroline
Guest
Posts: n/a
 
      08-27-2004
Greetings,

Suppose I have a URL sous forme de string inside the main html file
which contains frames.

How can I assign this URL to one of these frames?

Par exemple,

<frameset rows="*,20,20" cols="*" framespacing="0" frameborder="no"
border="0">
<frame src="" name="main" scrolling="auto" noresize>
<frame src="file2.html" name="FooterUp" scrolling="no" noresize>
<frame src="file3.html" scrolling="no" noresize>

<script>
Adresse = "http://www.google.com"
document.main.location.href=Adresse;
</script>


But this is not working,
Any ideas?

Thank you
 
Reply With Quote
 
 
 
 
Kris
Guest
Posts: n/a
 
      08-28-2004
In article <(E-Mail Removed) >,
http://www.velocityreviews.com/forums/(E-Mail Removed) (Caroline) wrote:

[snipped issues with combination of JavaScript and frames]

> Any ideas?


Frames form a usability issue on pages for the Web. Dependance on
JavaScript forms an accessibility issue. Drop both and rethink your
problem. Use CSS for layout and JavaScript for bells and whistles.

--
Kris
<(E-Mail Removed)> (nl)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Location, location, location =?Utf-8?B?VHJhY2V5?= Wireless Networking 2 02-17-2007 08:37 PM
Frames and borders around specific frames meyousikmann@yahoo.com HTML 1 02-10-2006 11:12 PM
Frames or not Frames... Ale HTML 17 08-05-2005 12:10 AM
Link needed to go from a non-frames page to a Frames page, and load a particular frame. How? - Newbe Philip HTML 3 06-28-2004 03:06 PM
From Frames to no frames? Powerslave2112 HTML 2 01-20-2004 10:30 PM



Advertisments