SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist escapedf's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    458
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy linking up slides?

    hey there,does anyone know how to link to a specific slide ?ie here: http://bluecrushdesign.co.za/imagin8/ ....How do i link the text "about us" to the second slide? and "Contact us" to the third? any help would be appreciated! I dont know javascript and its tough to find people on here who do
    "have the courage to follow your heart and intuition. They somehow already know what you truly want to become"

  2. #2
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Hi Escapedf,

    It seems that you could use their internal linking approach and do something like this:

    Code HTML4Strict:
        <div id="container">
            <div id="example">
                <div id="slides">
                    <div id="navigation">
                        <a href="#1" class="link">home</a>,
                        <a href="#2" class="link">about</a> ,
                        <a href="#3" class="link">contact us</a>
                    </div>
                    <div class="slides_container">

    I think the important thing to make sure of is that your #navigation with .link items is inside of the #slides div

    e.g.: http://afterlight.com.au/sitepoint/p...ing-up-slides/ (also attached as a .txt file)
    Attached Files Attached Files
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }

  3. #3
    SitePoint Evangelist escapedf's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    458
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks aussiejohn, i did try that href#1 thing, didnt seem to work..I had to search around for another slider that had linking..Heres my site now: http://bluecrushdesign.co.za/imagin82 ...problem is this slider doesnt have automatic slideshow option (ie scrolls to next slide even without clicking on arrows after a few seconds) ..any idea how to add that? ;-)
    "have the courage to follow your heart and intuition. They somehow already know what you truly want to become"

  4. #4
    SitePoint Evangelist escapedf's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    458
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    (edit it did work!!! yay!!! i might play with this one as it has slide every few seconds..you dont know anything about getting rid of that lag between about and contact us?? ))) - and how to link the links again in the "contact" slide out? as soon as i put them in a slide out they dont work..
    "have the courage to follow your heart and intuition. They somehow already know what you truly want to become"

  5. #5
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by escapedf View Post
    (edit it did work!!! yay!!! i might play with this one as it has slide every few seconds..
    I'd probably recommend against automatic sliding for any sliders except image / light content carousels.

    While certainly the site doesn't have a lot of content, you still want to make sure that visitors have the chance to read each page, or that if they go to another tab, program, whatever, and come back they aren't all of a sudden on another page (i.e. you want to manage their expectations)

    Quote Originally Posted by escapedf View Post
    you dont know anything about getting rid of that lag between about and contact us??
    I'm not seeing any lag between those slides, maybe you fixed this already?

    Quote Originally Posted by escapedf View Post
    how to link the links again in the "contact" slide out? as soon as i put them in a slide out they dont work..
    I'm not sure what you mean here, are you talking about the links to other internal pages? If you're using a different slider it's likely there will be a different syntax for it now. (Take a look at the Cross Linking section here: http://www.ndoherty.biz/demos/coda-slider/2.0)
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }

  6. #6
    SitePoint Evangelist escapedf's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    458
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey there, I went back to original link and played with that coz I got your linking to work. If u look at my original url - and original slider can u see a tab that says "contact? ".click on that and it slides out. I am trying to get those links to link up to the slides but for some reason these links in this contact slide out don't work. Did I do something wrong ? Or is it some sort of js thing that won't let u link to slides when navigation is in a js slideout tab?
    "have the courage to follow your heart and intuition. They somehow already know what you truly want to become"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •