Is there a way to get an iframe to adhere to a set of x,y coordinates?
I’m trying this on this page and it does not seem to be working..
Select your code and then press the little button with the blue brackets and white paper.
Anyhoo, you might want to put this part in the BODY tag, not the IFRAME tag:
OK, here is the full code…this is a wordpress page…so how would that work?
In the last situation I had to do this, I used CSS to accomplish it. It looked kind of like this:
width: 500px; position: relative;
position: absolute; left: -320px; top: -220px;
Managed to do the job, but I don’t know if it’s “correct” in terms of design practice lol.
Thanks, but this was moving the entire div over, rather than moving the embedded frame within the inner div???
Ok I see – I missed a step there (had to look it back up :P) – assign the id to the iframe itself:
hmmm… still not working? It keeps on moving the div/frame, not the page within the div/frame.
Check this out here: http://jsfiddle.net/xDU9V/
does that help at all? If you adjust the negative values of the “innerdiv” you’ll see the content inside the window move around.
AHHHH!! SUCCESS!! THANK YOU!!
Sweet! Glad it helped!
You must be logged in to reply to this topic.