SitePoint Sponsor

User Tag List

Results 1 to 25 of 30

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Nov 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    manipulate css with javascript

    re:http://www.jorgemonedero.com/blog/in...tamara-rojo-2/
    I wish to move the close button (return to index) on the top right underneath the social media buttons to the bottom, along side the artist name - publication and image count.
    When i change the css the button disappears behind a layer or div?
    someone mentioned using javascript to manipulate the css - can anyone help?

  2. #2
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Here are all the ways to manipulate CSS with js. http://www.websitecodetutorials.com/...javascript.php. Post back if that is not what you meant.

  3. #3
    SitePoint Member
    Join Date
    Nov 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by PicnicTutorials View Post
    Here are all the ways to manipulate CSS with js. http://www.websitecodetutorials.com/...javascript.php. Post back if that is not what you meant.
    Hi, thanks for that but it is not what need. These scripts are concerned with working in the absense of javascript; i need a javscript that over-rides the CSS

  4. #4
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Went to your site twice...here & codingforums...both times I see no close button. Granted I only use one eye to see with, but I don't think I'm that blind. But, if you mean what I think you mean, you'll need to put the button in a div and then relocate it's position (top, left) to the new position.
    Where the World Once Stood
    the blades of grass
    cut me still

  5. #5
    SitePoint Member
    Join Date
    Nov 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the black square with a X.
    I thought it was already in a div: <div class="close-btn" title="Close"></div>

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,168
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by indigojones666 View Post
    the black square with a X.
    I thought it was already in a div: <div class="close-btn" title="Close"></div>
    There doesn't appear to be such a div on the page you linked to. You could really help yourself here by linking to a page the demonstrates the problem and clearly indicating where the problem is. Help us to help you.

  7. #7
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by indigojones666 View Post
    Hi, thanks for that but it is not what need. These scripts are concerned with working in the absense of javascript; i need a javscript that over-rides the CSS
    FYI that would override CSS just like CSS would.

  8. #8
    SitePoint Member
    Join Date
    Nov 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    close button element is being obscured because it's hitting the edge of the containin

    re:http://www.jorgemonedero.com/blog/in...tamara-rojo-2/
    I wish to move the close button (return to index) on the top right underneath the social media buttons to the bottom, along side the artist name - publication and image count.
    When i change the css the button disappears behind a layer or div?
    someone mentioned using javascript to manipulate the css - can anyone help?

  9. #9
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,168
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Off Topic:

    Your link broke for some reason.

  10. #10
    SitePoint Member
    Join Date
    Nov 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  11. #11
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,168
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    I don't see the button you are referring to.

  12. #12
    SitePoint Member
    Join Date
    Nov 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    top right below the twitter and instagram symbols

  13. #13
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,150
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    That page does seem to have problems.

    But if you go to portfolio/marios-schwab-2/ you'll see
    close.png


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
  •