Floating Div inside iframe is not working, Can it be done with easyxdm...

350 views
Skip to first unread message

Shahid Bilal

unread,
Sep 12, 2013, 9:21:07 AM9/12/13
to eas...@googlegroups.com
Hi,

This links show the floating div example which I am using http://www.jtricks.com/javascript/navigation/floating.html in a iframe as below but the floating div is not working and it stays on top left position

 <iframe src="http://www.jtricks.com/javascript/navigation/floating.html" width="960px" height="1000px" frameborder="0" scrolling="no"  id="myframe">

</iframe>

Is it possible to do the floating using esayxdm, if yes then how to do it.

Would appreciate any help. Thank you
Shahid



Brian Merritt

unread,
Jan 31, 2014, 5:19:39 AM1/31/14
to eas...@googlegroups.com
What are you trying to achieve, Shahid?

A floating div within an iframe? I would have thought that would work, so long as you don't want the div to float beyond the iframe border.

A floating iFrame sounds pretty cool, as you could provide a floating menu from the remote server on your front end web page.

If you look at http://easyxdm.net/wp/2010/03/17/resize-iframe-based-on-content/ and the most recent comments, 

I have explained hopefully enough to help the non easyXDM expert get iframe resize up and running so all you should have to do then is to insert your iframe using easyXDM rather than iframe into the floating div, and away you go ;-)
Reply all
Reply to author
Forward
0 new messages