Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS HTML jQuery
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 9-Jan-13 23:35pm
namo77470
Edited 10-Jan-13 0:20am
v3
Comments
Tadit Dash at 10-Jan-13 6:07am
   
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 at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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...
Comments
namo77 at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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

  Print Answers RSS
0 CPallini 235
1 DamithSL 225
2 OriginalGriff 198
3 George Jonsson 170
4 Maciej Los 165
0 OriginalGriff 5,305
1 DamithSL 4,382
2 Maciej Los 3,760
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,901


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100