Guest G0D² Posted November 18, 2005 Share Posted November 18, 2005 Is it possible for one link - to control 4 web pages?http://www.thoughtsinchaos.net/rb/site2This is what I'm talking about. We've made a new template, that has 4 little boxes on the BOTTOM of that link up there. Same concept, new design.MOCK UP EXODYUS SITE -- ( With the new 4 box edition @ the bottom)-------------------------------- _______________|O|____________|| |________ __|| || || || || || ||L|| || ||_||_______||__| |_||_||_||_|L = Links I want to click the Links button - and have those four boxes OPEN simultaneously.All 4 boxes will be 4 different HTML iFrames. For say: RP, Fun, Misc, and Mess or whateverIS THIS even POSSIBLE?! Link to comment Share on other sites More sharing options...
Skemcin Posted November 18, 2005 Share Posted November 18, 2005 Yes its possible.<a href=java script: void(); onclick="openall();">Link</a>You'll need to find or build a little javascript function that will load multiple links into multiple windows - google something like "open frames with javascript" and see what you get. Link to comment Share on other sites More sharing options...
cyber0ne Posted November 18, 2005 Share Posted November 18, 2005 If I understand correctly what it is you're trying to do...How about put these 4 iframes (or objects) in divs with displays set to "none" in your stylesheet. Then the button calls a little Javascript function which sets their displays to "block" or "inline" or whatever fits with your layout.-cyber0nehttp://www.cyber0ne.com Link to comment Share on other sites More sharing options...
Jack McKalling Posted November 23, 2005 Share Posted November 23, 2005 Yes, cyber0ne's sollution is best :)Lets say the cells are iframes.. set to each frame:<iframe style="display:none" .... ></iframe>And some java script:function OpenAll(){ var cells = document.getElementsByTagName("iframe") for (i=0; i<cells.length; i++) { cells.style.display = (cells.style.display == "none") ?"" :"none" }}With this, the cells would even close if you repeat clicking Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now