Profile
Achievement
 
    
                rolandog's Recent Snippets
- All /
 « Prev 1 Next »
Helps identify correctly the type of whatever you put as an argument. This was adapted from http://www.planetpdf.com/developer/article.asp?ContentID=testing_for_object_types_in_ja
        
        
        
            3 
        
        
            1669 
        
                    posted 18 years ago by rolandog
            This is a website specific script... pops up the source of an OPML file with 145+ podcasts.
http://www.productivity501.com/2006/11/free_academic_p.html
Note: The 'bookmarklet' format is included as a comment at the bottom... (write in a webpage a...
        
        
        
            1 
        
        
            1125 
        
                    posted 18 years ago by rolandog
            Sends as XHTML 1.1 + MathML if supported, falls back to XHTML 1.1 if supported, or falls back to HTML 4.01 Strict.
Mixed two separate scripts:
http://www.workingwith.me.uk/articles/scripting/mimetypes
http://golem.ph.utexas.edu/~distler/blog/arc...
        
        
        
            2 
        
        
            1111 
        
                    posted 19 years ago by rolandog
            This function allows an object's property names to be read by using an index. The properties can be accessed like: someobject.propertyNames[0] or someobject.propertyValues[0]. But you first have to make the object's properties available by calling so...
        
        
        
            2 
        
        
            1407 
        
                    posted 19 years ago by rolandog
            Constructs an element out of arrays. Using nested arrays translates into nested ChildNodes.
Update 2006-07-19: Added documentation (comments).
Update 2006-11-25: Reduced the ammount of code needed.
        
        
        
            5 
        
        
            1588 
        
                    posted 19 years ago by rolandog
            You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://lear...
        
        
        
            3 
        
        
            1648 
        
                    posted 19 years ago by rolandog
            Directions: be sure to set to absolute paths every image location from your litebox-1.0.js and lightbox.css files... and, replace the setInnerHTML function with this one...
http://www.doknowevil.net/litebox/
        
        
        
            1 
        
        
            1426 
        
                    posted 19 years ago by rolandog
            This is a way to determine if the browser uses the KHTML engine or if it is the Konqueror Browser.
        
        
        
            2 
        
        
            2473 
        
                    posted 19 years ago by rolandog
            For a working demo in application/xhtml+xml or text/html, go to:
http://rolandog.com/archives/2006/07/10/litebox-demasiado-bueno-para-ser-cierto/
You should delete the multi-line comments after completing the setup, some old browsers will complai...
        
        
        
            3 
        
        
            1950 
        
                    posted 19 years ago by rolandog
            This script makes it possible to delete every childNodes, childNodes.childNodes, childNodes.childNodes.childNodes and so on. Includes example functions for deleting all childNodes, firstChild and lastChild from an 'id'. It uses twin functions that ca...
        
        
        
            0 
        
        
            1194 
        
                    posted 19 years ago by rolandog
            