Click here to Skip to main content
15,891,865 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.

I have a jQuery image slider on a webpage in my server and I want to display this slider in another website that's not on my server using the <iframe> tag.

Please how do I go about this?

Please kindly help me out.

Thank you very much!
Posted
Updated 9-Jan-13 23:20pm
v3
Comments
I am not sure what you are asking.
Are you asking to add the iframe inside the slider in your website and the iframe will point to another website?
namo77 10-Jan-13 6:25am    
Thank you very much.

I want to put only the slider into the iframe.

Do you know how to go about it? Please.

Thank you.

Yes I've found exactly what am looking for, but its not yet supported by any major browser.

Using the <iframe> tag, you'll add an attribute srcdoc, then put the line of code you want to display in the inline frame.
 
Share this answer
 
I am not sure, but I guess you are looking for something which I found.
Check prettyPhoto[^], in which you will find slider for External sites (iframe)[^].

Thanks...
 
Share this answer
 
Comments
namo77 10-Jan-13 8:37am    
Thank you very much. But its not actually what am searching for. I want to know if its possible to display the content I put inside a <div> using the <iframe> tag. Is it possible?

Thank you for your contribution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900