ptrcao
02-26-2011, 03:12 PM
http://www.sciweavers.org/free-online-latex-equation-editor
looking at the source code can anyone tell me how show/hide tab contents mechanism is being implemented?
is there a better way to do it?
abduraooft
02-26-2011, 03:56 PM
See http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
(May not be better, but you may customise one of them)
ptrcao
02-26-2011, 07:47 PM
See http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
(May not be better, but you may customise one of them)
lol. Isn't there a simpler script to achieve the same thing? I don't know any JS! :( I was keen to learn but the referenced scripts are very long and involved:
http://www.dynamicdrive.com/dynamicindex17/tabcontent/tabcontent.js
Maybe there's an easier place to start off? A simpler script achieving the same thing maybe?
abduraooft
02-27-2011, 12:48 PM
lol. Isn't there a simpler script to achieve the same thing? I don't know any JS!
How about using a javascript framework like jquery? See http://jqueryui.com/demos/tabs/
You don't have to worry about the complexities of the back end script.