-
ajax tabs
1) Script Title: Ajax Tabs Content script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/index.htm
3) Describe problem:
Not really a problem, just a question...
Can you target specific <div> tags in an external file?
i.e. when you click a tab, a specific <div> tag from the external .html file is displayed?
Thanks
-
-
When you say external.. Do you mean an Iframe, or a completely different document?
- Mike
-
-
Nevermind.. Stupid question
- Mike
-
-
maybe try a different script
because the whole point of having it ajaxed based is that it loads an external file etc etc, why not just add the div tags to the external page ? or search google for a script called accordian tabs ... its a cool scriptalicious script by moo fx ..
_________________________
http://www.mediapixel.co.uk
-
-
well, I want to load an external file, but it'd be cool if I could load a specific portion of the external file. basically have each tab pull the same external file, only display a certain <div> from that external file.
-
-
Not really such a good idea. You could use the ordinary tab script:
http://www.dynamicdrive.com/dynamici...tabcontent.htm
It could be worked out the way you say but, it really is more complex than it would be worth. The point of the AJAX tabs is to load separate pages. The ordinary tabs script loads division on the same page with no external page. To combine the two, you would need to code for displaying and not displaying divisions anyway, and they all would need to be parsed by the browser anyway. At that point there would be no functional advantage over the plain tabs script but there would be a lot more server overhead.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks