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.

CSS Forum


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



Reply
slideshow left/right button issue
Old 07-05-2010, 08:52 AM slideshow left/right button issue
Junior Talker

Posts: 2
Trades: 0
hello everyone,

got a tricky one here.

i found a really simple and neat free slideshow for my site called SIMPLESLIDE.
i want to build my website using several of these slideshows.

an example of the slideshow in action can be seen here on the homepage, http://www.simplesli.de/

you will notice that the LEFT and Right buttons for the slideshow appear only on mouseover within the slideshow box.

this is where my problem is. it is not explained on the site how to create that effect, so i assumed that it should be apart of its functionality, but it is not.

the following code was duplicated from the site itself and using FIREBUG to try to figure out how the buttons show up get me nowhere.

the HTML for the buttons are placed within the slideshow HTML:

Code:
<div class="slideshow">
     <div class="left-button left" rel="" style="display: none;"></div>
     <div class="simpleSlide-window left" rel="">
       ....
       ....
     </div>
     <div class="right-button left" rel="" style="display: none;"></div>
</div>
the CSS for the left and right buttons look like:

Code:
.left-button {
    background-image:url(leftbutton image);    
}
 
.right-button {
    background-image:url(rightbutton image);
    right: 1px;
}
 
.left-button, .right-button {
    cursor:pointer;
    height:72px;
    position:absolute;
    width:50px;
    display: none;
    z-index: 9999;
    top:50%;
    margin-top: -36px;
}
in both the CSS and HTML the display is NONE, and yet, whenever i mouseover, the display changes to BLOCK and i see the left and right buttons fine.

how in the heck is this occurring?

any ideas would be appreciated.

thanks
dzcube is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-05-2010, 08:59 AM Re: slideshow left/right button issue
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You are obviously missing the code that is in http://www.simplesli.de/js/jquery.simpleSlide.js then!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to slideshow left/right button issue
 

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 1.79721 seconds with 12 queries