moose-en-a-gant Posted January 17, 2015 Share Posted January 17, 2015 (edited) I am looking to use this functionality : http://www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_collapsible However using my own CSS style. I looked at the source code, unfortunately the code is just jammed together so it isn't immediately clear how it works, I thought too that I could find every semi-colon and do a line escape but I don't know / think that javascript / jquery follows the same end of line statement as php. I'm just looking to have a rectangle that when pushed, another rectangle of the same width but different color / font "extends" below this one, pushing the other elements below, away. If anyone would care to chime in I'd appreciate it, otherwise I'll scrutinize the javascript/jquery code, I haven't worked with either too much yet. Thanks Edited January 17, 2015 by moose-en-a-gant Quote Link to comment Share on other sites More sharing options...
scootstah Posted January 22, 2015 Share Posted January 22, 2015 Well, that's the jQuery Mobile framework. Plain ol' jQuery has no styles associated with it, so you could use it with any element that you want. Here is a quick example: http://jsfiddle.net/x3hyd4bt/ Quote Link to comment Share on other sites More sharing options...
moose-en-a-gant Posted January 31, 2015 Author Share Posted January 31, 2015 (edited) Thank you Cool that is a sweet demonstration thanks Edited January 31, 2015 by moose-en-a-gant Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.