Go Back   Dynamic Drive Forums > Blogs
Search Dynamic Drive Forums:

JavaScript & Ajax
Old

Combining Ultimate Fade-in Slideshow 2.1 and Lightwindow 2.0

Posted 10-07-2009 at 04:10 PM by jscheuer1
Updated 10-08-2009 at 01:06 AM by jscheuer1 (Flesh out Links to demo, source scripts)

I've found that this actually can work. It makes an interesting use of the slide show's undocumented oninit feature, and how well the slide show is written visa vis jQuery's No Conflict mode. I would generally advise using two scripts which work off of the same script library, rather than two different script libraries. However, in this case both scripts are so robust, who can resist?

That said, all you need to do to set up a demo is to follow the instructions for Ultimate Fade...
jscheuer1's Avatar
No Kidding?
Views 2358 Comments 2 jscheuer1 is offline Edit Tags
Old

Document.write issues

Posted 05-17-2009 at 12:48 AM by molendijk
Updated 05-17-2009 at 12:55 AM by molendijk (Forgot to mention category)

The Ajax Includes Script given at http://www.dynamicdrive.com/dynamici...axincludes.htm uses document.write for including external content. Advantage: you don't have to explicitly bring the js belonging to the external file(s) to the main page. But beware the results in certain cases! In IE, (external) scripts added to the page using document.write are not run until after the document.write that adds them has finished. Non-IE browsers will run them straight away. So
Code:
<script type="text/javascript">
...
molendijk's Avatar
Senior Coders
Views 4621 Comments 0 molendijk is offline Edit Tags
Old

Updating a JavaScript to be XHTML compliant

Posted 04-02-2009 at 06:16 AM by ddadmin

As a webmaster you've undoubtedly noticed the increasing shift in coding practices from HTML to XHTML on the web. If you're a professional web designer, you've probably even heard it first hand from your clients who demand their web pages be XHTML compliant. I get quite a lot of emails on a monthly basis asking for help in making a webpage that contains a DHTML script to be XHTML compliant. A common misconception is that this is a difficult process, which can be no further from the truth.
...
ddadmin's Avatar
Administrator
Views 9284 Comments 4 ddadmin is offline Edit Tags
Old

Using Google to host your jQuery (or other) JavaScript libraries

Posted 03-05-2009 at 09:28 PM by ddadmin

A growing number of scripts here on DD utilize the popular jQuery JavaScript library as its backbone, which means at the top of these scripts you'll see a reference such as:

Code:
<script type="text/javascript" src="jquery-1.2.6.pack.js"></script>
which obviously requires you to download and host "jquery-1.2.6.pack.js" locally on your server. For those of you who likes to minimize hosting your own files for whatever reason, Google...
ddadmin's Avatar
Administrator
Views 13618 Comments 5 ddadmin is offline Edit Tags
Old

Javascript Motion Effects Library

Posted 03-04-2009 at 04:39 PM by Master_script_maker

I have created a motion effects library and aptly named it Javascript Motion Effects Library or the Jasme Library. I created it mainly to allow people to do complex effects with little code. Jasme works in firefox 3, safari, IE 7, and all other modern browsers. Jasme can move almost all variables of an object* and is very easy to use. When multiple actions are placed on the object, Jasme goes through a queue. You may use the library as long as you keep the label intact.Example1 Example2 Example3...
Senior Coders
Views 3991 Comments 0 Master_script_maker is offline Edit Tags

All times are GMT. The time now is 11:55 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.