Total members 11894 |It is currently Sun Nov 24, 2024 2:21 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Hi guys,

I'm new to php and dynamic scripting, and was wondering is the following was possible, and if anyone has any ideas.

Basically I have a website that has to use an iframe, there is no getting around it, I have no access to add any script inside the iframe.
I have a menu system outside of the iframe and I also have 1 inside it too (acting independently of each other) as you can imagine this is not an ideal situation.

What I would like to do, if it's possible is have the title of the page, and possibly the content (outside the iframe) built in a way that will dynamically change depending on the URL of the iframe inside the page.

eg. Page title 1 - if iframe url = "www.iframe1.com" then Display content="title 1", if iframe url = "www.iframe2.com" then Display content="title 2"


Then if someone clicks inside the iframe on a different page, the title of the page outside of the iframe would then dynamically change to reflect this.

While typing this I have realised that it's probably impossible as I'm sure it would require a page refresh in order for the title outside of the iframe to make the change :nea:

back to the drawing board I guess




Author:
Newbie
User avatar Posts: 5
Have thanks: 0 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : Can anyone suggest some script?
 Suggest me a best modem     -  
 Suggest course for programming     -  
 project in java.....plz suggest good ones........     -  
 Ajax Source code to Suggest application with JSP Server side     -  
 need help with java script in a pdf     -  
 Send Email from a PHP Script Example     -  
 Script ingoring lines     -  
 Questions: Perl Script. PHP.     -  
 script for including files     -  
 A PHP Number Guessing Script     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com