ClioSport.net

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Someone want to make me a rollover?

Right basically, if I send someone a .PSD (photoshop file) could they make a rollover for me? Ive got all the layers there, I did it in adobe image ready with rollover states but then that creates a load of javascript language which I dont want. Anyone wanna be my new best friend and help me out? should only maybe take 10 mins for a pro!

Cheers in advance

Daz
 
Yu wont be doing any roll overs without Javascript or CSS. Nothing wrong with using Javascript as long as it downgrades graicefully.
 
So you wreckon its suitable on a website if I create a rollover using adobe image ready? and use the javascript it creates?
 
Lol, I did about 5 threads on here before and was googling and learning tutorials for ages but could never master the CSS rollover tutorials!
 

Attachments

  • websiteoff.webp
    websiteoff.webp
    3.6 KB · Views: 106
  • websiteover.webp
    websiteover.webp
    5.4 KB · Views: 111
Last edited:
CSS is definitely the best way!

i always do it that way with NO loading (I see loads of css rollovers that you have to wait 3 seconds for the image to load after)

This is one of my websites:

www.i-modish.co.uk (links at the top)
 
here ya go matey, ill give you a hand. Try replicating that and see how it turns out.

HTML:

HTML:
<!--MAIN NAVIGATION START-->
       <div id="mainnav">
       <div id="nav_home" class="cssnav"><a href="/index.php" title="Homepage"><img src="/skins/imodish/styleImages/buttons/home.gif" alt="homepage" /></a></div>
       <div id="nav_aboutus" class="cssnav"><a href="/about-us/info_1.html" title="About us"><img src="/skins/imodish/styleImages/buttons/aboutus.gif" alt="about us" /></a></div>
       <div id="nav_contactus" class="cssnav"><a href="/index.php?act=contactform" title="Contact us"> <img src="/skins/imodish/styleImages/buttons/contact.gif" alt="Contact us" /> </a></div>        
       </div><!--mainnav-->
<!--MAIN NAVIGATION END-->
CSS:

Code:
/* TOP NAVIGATION BUTTONS */

#mainnav {
    position: absolute;
    top: 12px;
    left: 310px;
    height:35px;    
    width: 210px;
    }

.cssnav    {
    position:relative;
    float: left;
    margin: 0; 
    padding: 0;
    width: 70px;
    height: 35px;
    overflow:hidden;/* for ie to hide extra height*/    
    }        

.cssnav a {
    display: block;
    width: 70px;
    height: 35px;
    float: left; 
    overflow:hidden;/* for ie to hide extra height*/
    }

#nav_home {background: url(../styleImages/buttons/home_b.gif) no-repeat;}
#nav_aboutus {background: url(../styleImages/buttons/aboutus_b.gif) no-repeat;}
#nav_contactus {background: url(../styleImages/buttons/contact_b.gif) no-repeat;}

.cssnav a:hover {
    color: #ffffff;
    }
        
.cssnav img {width: 70px; height: 35px; border: 0; }
* html a:hover {visibility:visible}
.cssnav a:hover img{visibility:hidden}

.cssnav span {
    position: absolute;
    left: 30px;top: 15px;
    text-align: center;
    width: 150px;
    cursor: pointer;   
    }

/* END OF NAVIGATION */
 
you using firefox mate? I tried in iexplore, and a box comes up at top where you have to click allow java applets, which is just gonna annoy anyone using iexplore.
 
Back
Top