Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Spyware and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

 
Reply to this topicStart new topic
> Locking In Inline Frames, Is there a way to do it?
holytoaster4
post Feb 13 2008, 10:49 PM
Post #1


Forum Regular
***

Group: Members
Posts: 166
Joined: 24-October 06
Member No.: 91,850



I'm looking for a script or something of the sort to lock in an iframe. When it works the url inside my iframe will change if the user clicks any of the links inside my iframe. For example if I had google.com inside my iframe on the homepage and the person on my website viewing the iframe clicked images then it would simply change to images in the iframe instead of loading it in internet explorer


--------------------
Go to the top of the page
 
+Quote Post
groovicus
post Feb 14 2008, 07:31 PM
Post #2


Hail Groovicus!
******

Group: Site Admin
Posts: 5,997
Joined: 5-June 04
From: Vermillion, SD
Member No.: 689



I have been trying to find an answer for this for a few weeks now. I have not yet found a solution either, but it is probably because I do not know the proper search phrase. I'll try to dig around later.


--------------------
Go to the top of the page
 
+Quote Post
holytoaster4
post Feb 14 2008, 11:53 PM
Post #3


Forum Regular
***

Group: Members
Posts: 166
Joined: 24-October 06
Member No.: 91,850



thanks for the info, i know certain sites do not allow iframes and instead just open their site in a new window

let me know if you find anything smile.gif


--------------------
Go to the top of the page
 
+Quote Post
holytoaster4
post Mar 3 2008, 03:01 AM
Post #4


Forum Regular
***

Group: Members
Posts: 166
Joined: 24-October 06
Member No.: 91,850



anything new on the iframes?


--------------------
Go to the top of the page
 
+Quote Post
groovicus
post Mar 3 2008, 01:08 PM
Post #5


Hail Groovicus!
******

Group: Site Admin
Posts: 5,997
Joined: 5-June 04
From: Vermillion, SD
Member No.: 689



Not for me. That's way down on my list of priorities, ie, if I never get to it, it won't care. smile.gif


--------------------
Go to the top of the page
 
+Quote Post
holytoaster4
post Mar 5 2008, 01:43 AM
Post #6


Forum Regular
***

Group: Members
Posts: 166
Joined: 24-October 06
Member No.: 91,850



awww mann! oh well i'll just keep on searching the web there should be a way to do it but i can't find anybody who knows how.


--------------------
Go to the top of the page
 
+Quote Post
jhsmurray
post Mar 5 2008, 04:47 AM
Post #7


Senior Member
****

Group: Members
Posts: 362
Joined: 15-July 07
From: 6,378 km above the Earth's core
Member No.: 143,724



I'm not sure what you mean by 'lock', but maybe something like this helps?
CODE
<html>
<head>
&lt;script type="text/javascript">
function jsSwitchIframe(sSRC) {
    document.getElementById('iFrame_1').src = sSRC;
}
</script>
</head>
<body>
<iframe id="iFrame_1" src="http://www.google.com"></iframe><br>
<button onclick=java script:jsSwitchIframe("http://www.cnn.com")>CNN</button><br>
<button onclick=java script:jsSwitchIframe("http://www.yahoo.com")>YAHOO</button>
</body>
</html>



--------------------

Toshiba Satellite A135
OS: Vista Home Premium SP1
Processor: T2250 @ 1.73 GHz (2 CPUs), ~1.7 GHz
RAM: 1526 MB
Display: Mobile Intel® 945GM/GU Express Chipset Family
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 13th October 2008 - 12:34 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.