Results 1 to 3 of 3

Thread: how to hide #apple and when someone clicks on link ....

  1. #1
    Join Date
    May 2006
    Posts
    266
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question how to hide #apple and when someone clicks on link ....

    Hi I would like to hide parts of the html and show it only when clicked on.

    I have the Javascript for the iphone template but i don't know what i can and can't remove. I don't want the sliding effect. Can anyone help

    JS code is here
    http://www.hypnosiswa.com/iui.js
    Thanks
    The web in one word.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Can you explain better? You want to show parts of the page only when they're clicked on? But how can the user click on something that's hidden?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    May 2006
    Posts
    266
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    i would suggest having a look at http://www.hypnosiswa.com/iphone.html, the html code is how i would like to set up the main site.

    I have used these the following in the main html
    Code:
    <link media="only screen and (min-device-width: 489px)" rel="stylesheet" href="css/peter.css" type="text/css">
    
    <link media="only screen and (max-device-width: 480px)" href="iui.css" type="text/css" rel="stylesheet" />
    
    <link media="only screen and (max-device-width: 480px)" href="iui.js" type="application/x-javascript" rel="javascript" />
    However i like the sliding effect for the iphone template which is in the .js file however i don't want that for the main site. Also it seems the .JS file tells to list it in a list a would like it look how it does at the moment http://www.hypnosiswa.com

    So in other words all i am looking for is a .JS script that will take what ever makes the iphone template hide and show the content.

    I hope that helps.

    Edit: Wrapped the code in [code][/code] tags
    Last edited by tech_support; 01-08-2008 at 05:31 AM.
    The web in one word.

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
  •