Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 11-29-2011, 02:35 PM Iframe in Slider
Average Talker

Posts: 26
Trades: 0
Hi all,

am trying to add a iframe in slider i dont know if is that possible?instead of slide-1-image.png a iframe example google.com
can someone help me?
here is the code:

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 
 <title>Start/Stop Slider</title>
 
 <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
 
 <script type="text/javascript" src="js/jquery-1.2.6.js"></script>
 <script type="text/javascript" src="js/startstop-slider.js"></script>
 
</head>
<body>
 <div id="page-wrap">
 
 
  <div id="slider">
   <div id="mover">
 
    <div id="slide-1" class="slide">
 
     <h1>Garden Rack</h1>
 
     <p>Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus.</p>
 
     <a href="#"><img src="http://tycoontalk.freelancer.com/images/slide-1-image.png" alt="learn more" /></a>
 
    </div>
 
    <div class="slide">
 
     <h1>Tulip Bulbs</h1>
 
     <p>Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus.</p>
 
     <a href="#"><img src="http://tycoontalk.freelancer.com/images/slide-2-image.png" alt="learn more" /></a>
 
    </div>
 
    <div class="slide">
 
     <h1>Garden Gloves</h1>
 
     <p>Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus.</p>
 
     <a href="#"><img src="http://tycoontalk.freelancer.com/images/slide-3-image.png" alt="learn more" /></a>
 
    </div>
 
   </div>
 
  </div>
 
 
</body>
</html>
thanks.

Last edited by xhtmlhelp; 11-29-2011 at 02:37 PM..
xhtmlhelp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-08-2011, 02:13 PM Re: Iframe in Slider
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
should be possible, just replace the <a href=""><img [...] /></a> with the iframe

my guess is that the slider script: startstop-slider.js is sliding based on the parent <div class="slide"> meaning you can place any object you want in it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Iframe in Slider
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.53396 seconds with 12 queries