www.webdeveloper.com

Search:

Type: Posts; User: zidaine_38

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    957

    function checkArray(form, arrayName) { ...

    function checkArray(form, arrayName)
    {
    var retval = new Array();
    for(var i=0; i < form.elements.length; i++)
    { var el = form.elements[i];
    if(el. getAttribute ('type') ==...
  2. Replies
    10
    Views
    1,544

    function greeting () { var today=new Date();...

    function greeting ()
    {
    var today=new Date();
    var h=today.getHours();

    document.getElementById("displaygreeting").innerHTML=
    (h>= 20? "Good Night!":
    h>= 18? "Good Evening!":
    h>=...
  3. Replies
    6
    Views
    1,804

    Maybe you need to learn more about framesets....

    Maybe you need to learn more about framesets. This is much easy to handle than iframes.


    http://www.w3.org/TR/html4/present/frames.html


    Learn about targeting to content frame from navigation...
  4. jQuery Maybe this will help. ...

    Maybe this will help.

    http://www.webdeveloper.com/forum/showthread.php?t=226613
  5. No. You definitely cannot control a window with...

    No. You definitely cannot control a window with different host. That's foul.


    However you can control a remote page window and manipulate its methods and properties.


    This might be a help to...
  6. // Preload the...

    <script type="text/javascript">
    // Preload the loading image
    var loadingImg = new Image();
    loadingImg.src = 'images/wait.gif';
    function changeImage(filename)
    {
    // Show the loading image ...
  7. Thread: jQuery Ajax

    by zidaine_38
    Replies
    1
    Views
    656

    $('a').click(function(){ $.ajax({ type:...

    $('a').click(function(){
    $.ajax({
    type: "GET",
    url: "js.js",
    dataType: "script",
    success: function(data) {
    var el= $ ("<script type='text/javascript'>"+ data+ "</script");
    ...
  8. You may use the onbeforeload or onbeforeunload...

    You may use the onbeforeload or onbeforeunload event.

    Just thinking
  9. Replies
    13
    Views
    6,444

    You must change the source code... var...

    You must change the source code...


    var mygallery=new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [380, 469], //width/height of gallery in...
  10. Why not use the basic setTimeout function. It is...

    Why not use the basic setTimeout function. It is cross browser and more easily to handle.




    function sleep ()
    {
    }
    setTimeout (sleep, 100); //use milisecond: 1000== 1 second
  11. Replies
    2
    Views
    778

    You can copy all the source code and compress it...

    You can copy all the source code and compress it then save to a single JS file. However, you can also load a javascript file in JS.


    function load_script (url, id) {
    var el= document....
  12. Replies
    7
    Views
    2,018

    Ofcourse the structure is slightly wrong. That is...

    Ofcourse the structure is slightly wrong. That is not a right syntax. But however, you have an idea.

    This should be your code:


    var body= document. getElementsByTagName ("body") [0] ||...
  13. We just configure the settings like this... ...

    We just configure the settings like this...


    <input type="button" id="toggle" value=" Show " />
    <div id="content"><p>Some Content</p></div>

    <script type="text/javascript">
    //ON you...
  14. Replies
    13
    Views
    6,444

    var mygallery=new fadeSlideShow({ wrapperid:...

    var mygallery=new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [380, 469], //width/height of gallery in pixels. Should reflect dimensions...
  15. Use jCast tool.

    Use jCast tool.




    <input type="button" id="toggle" value=" Show " />
    <div id="content"><p>Some Content</p></div>

    <script type="text/javascript">
    //ON you javascript code
  16. Replies
    0
    Views
    1,029

    jCast New Object Oriented Programming

    Short Overview

    jCast stands for Javascript and Css Animation ScripT. It is a useful tool to create more dynamic programs for your javascript application. jCast is object oriented programming and...
  17. There are some bugs on programming javascript...

    There are some bugs on programming javascript with internet explorer. This includes the bug on nested objects (delimiter bug). Example:

    //This will run in FF but not with IE
    var obj= {
    key:...
  18. Replies
    5
    Views
    2,970

    Cross Browser Event Listener

    Here is the cross browser code in adding multiple events in an element inside a document.




    var addEvent = function ( el , ev , func ) {
    var evnt = el['on'+ev];
    el['on'+ev]= function () {...
Results 1 to 18 of 18
HTML5 Development Center



Recent Articles