Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old December 11th, 2004, 06:23 AM
super325 super325 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 super325 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Help w/ window_name please...

Goal: Have all my links open in the same named window

I have this code in my main index file...
window.name = "parent_window";

And this is the syntax I'm using within my flash movie...
getURL("http://www.baileysbarkery.com/specialty.php","new_window");

Now here's the issue, if I create two buttons pointed to (google.com and yahoo.com) they do indeed load in the same window like I am trying to do. However, when I try to load my php pages, they still load in their own individual page.

I am new to PHP so I am not sure if there is some special code that is required on the individual php pages to do this or not?

Any help would be greatly appreciated and if that was confusing what I'm asking for please let me know and I'll try to clarify!

Thanks!

Reply With Quote
  #2  
Old December 11th, 2004, 10:18 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,945 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 5 h 57 m 19 sec
Reputation Power: 3
RE: Help w/ window_name please...

Please show all code for the javascript. This doesnt appear to be a php problem. Php is server-side and outputs html. I believe this is a javascript problem, (Moved thread to client side forum).

Reply With Quote
  #3  
Old December 11th, 2004, 10:18 PM
System System is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 665 System User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Message Moved

Thread moved from 'PHP Coding' to 'Client Side Things' by Andrew.

Reason:

Reply With Quote
  #4  
Old December 11th, 2004, 11:13 PM
super325 super325 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 super325 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Help w/ window_name please...

I am not using javascript at all.

The only code I have is an html index file which calls my flash movie. In the head of that file is where I have my window.name = "parent_window";

For my buttons w/in the flash movie I am using the code:

getURL("http://www.baileysbarkery.com/specialty.php","new_window");

Now when this code calls a regular html page it works fine, but when I call my .php pages, it doesn't. It just keeps opening the pages all in their own windows still instead of going to 'new_window'.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Help w/ window_name please...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT