-
Feb 24th, 2012, 05:28 PM
#1
Thread Starter
Fanatic Member
Changing Frame URL?
Hi there,
on my index.php i have 2 frame sets, one loading player.php and one that will load pages...
Does anybody know how i can make it so that if i went to www.mywebsite.com/genres/
It would load genres.php through the frameset on index.php instead of going to an external page?
Thanks
Jamie
-
Feb 26th, 2012, 04:21 PM
#2
Frenzied Member
Re: Changing Frame URL?
PHP is a server side scripting language. I think you want to look into JavaScript.
-
Feb 26th, 2012, 07:16 PM
#3
Re: Changing Frame URL?
Neither... it's in the html... when you create your href links, you need to set the target attribute to point to the framename where you want it to load.
-tg
-
Feb 29th, 2012, 11:16 PM
#4
Re: Changing Frame URL?
Originally Posted by techgnome
when you create your href links, you need to set the target attribute to point to the framename where you want it to load.
Correct, but this is not the issue. The issue is identifying the correct page to load in the frameset from the URI. One way of doing this without scripting is to have multiple index pages, each specifying the appropriate frame content URI.
This type of complication is one of many good reasons to avoid using frames and framesets.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|