www.webdeveloper.com

Search:

Type: Posts; User: holyhttp

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. jQuery Your URL is not showing so it would be hard for...

    Your URL is not showing so it would be hard for us to understand what you need.
  2. You can add Javascript code at the bottom of your...

    You can add Javascript code at the bottom of your form:
    <script type="text/javascript">
    var today=new Date();
    document.forms[0].getElementById('CustomFields_30_dd').value=today.getDate();...
  3. Replies
    10
    Views
    1,784

    If the elements of your arrays colorOld and...

    If the elements of your arrays colorOld and colorNew represent CSS class names then everything should be working just fine.
    The "each" function is for DOM looping.
    YOu can simply using a "for"...
  4. Replies
    2
    Views
    506

    Specify the desired height for the div then set...

    Specify the desired height for the div then set its overflow to scroll.
  5. Replies
    1
    Views
    8,140

    Are those tabs showing up below subsection of the...

    Are those tabs showing up below subsection of the parent <li>?

    <style>
    #nav ul {padding: 0; margin:;0; list-style-type:none;}
    #nav li {float:left; clear:none; margin:0; padding:0;}
    #nav li a...
  6. SEO is about web site content optimization as...

    SEO is about web site content optimization as well as developing inbound links popularity. In that sense Social Media can help spread the message and your content through sharing.
  7. However you name the parameter in the function...

    However you name the parameter in the function signature (e.g. function isClickOnImage(event) ) you should use that very same name in the function's body.
    Because "event" is used by IE...
  8. You don't need any fancy JavaScript to get this...

    You don't need any fancy JavaScript to get this done. Just use simple HTML hyperlinks to give the user the option for the mobile or desktop version of your site.
  9. You should not nest the CSS styles: header...

    You should not nest the CSS styles:
    header .banner
    {
    position: relative;
    .page header {
    display:block;
    position:relative;
    height:175px;
    background: url(images/banner_large.jpg)...
  10. Replies
    1
    Views
    1,637

    if (screen.width

    if (screen.width <= 700) {

    var answer = confirm("Visit Mobile Site?"); //you omitted the semi-colon
    if (answer){
    window.location = "http://my-mobile-site.com";
    }
    else {
    }
    }
  11. Can you post the HTML of that page or a hyperlink...

    Can you post the HTML of that page or a hyperlink to it to help us find out what the problem is?
    You may have inadvertently replace the rest of the "body" content with your new HTML fragment.
  12. An HTML element can be anything from a div tag,...

    An HTML element can be anything from a div tag, an anchor, an image, an audio to a video file.
    JavaScript allows you to manipulate the HTML document on the fly (at runtime).

    So as far as...
  13. In JavaScript, you cab use var...

    In JavaScript, you cab use
    var s=document.createElement("div")
    then
    parentNode.appendChild(s) where parentNode is the parent element which can be any other HTML element.
  14. Congratulations.

    Congratulations.
  15. I just do not see the usefulness of a trick such...

    I just do not see the usefulness of a trick such as
    <a href="http://www.josephdsmith.blogspot.com/" target="newwindow"><textarea></textarea></a>

    What is really the point of having a clickable...
  16. Replies
    5
    Views
    1,322

    You should give each answer section a different...

    You should give each answer section a different CSS id so you can determine which DIVs to reveal or hide.
  17. Just right-click on the video and you'll discover...

    Just right-click on the video and you'll discover that's it's a Flash video.
    So it does not really matter which open-source package was used to develop it.
    Again, please read the "if" in my...
  18. You probably need to check first whether the...

    You probably need to check first whether the function is handling the event or not:

    function isClickOnImage(event){
    alert('image clicked')';
    }

    Once you succeed then the next step is to verify...
  19. If you are referring to the hover effect on the...

    If you are referring to the hover effect on the video then you should know that's a Flash movie not JavaScript.
  20. Seriously Lindy? First there is no point in...

    Seriously Lindy?
    First there is no point in responding to your own comments just to inflate the number of posts you make.
    Second, opening a merchant account does not necessarily mean there is no...
  21. Replies
    2
    Views
    878

    target.onmousedown=function(){return false} is...

    target.onmousedown=function(){return false} is the source of the problem in Opera because it disables any mousedown event in the entire document.

    How about:

    target.onmousedown=function(){
    var...
  22. Thread: onClick Event

    by holyhttp
    Replies
    2
    Views
    573

    You just want to call one or the other function...

    You just want to call one or the other function when the checkbox is ticked or not.

    How about:
    <input type="checkbox" onChange="changeContent('vadiv');" value="'value'" id="vbook'" name="vbook"/>...
  23. Replies
    3
    Views
    450

    First give your image an id. Let assume it's...

    First give your image an id. Let assume it's cStatus. The HTML would be:
    <img alt="Open" height="16" src="/jira/images/icons/status_open.gif" title="Open - The issue is open and ready for the...
  24. Replies
    4
    Views
    989

    Your code certainly needs some organizing. The...

    Your code certainly needs some organizing.
    The more important thing to point out if your web pages does not have any image tag to show the animation.



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...
  25. It appears all variables in your Javascript code...

    It appears all variables in your Javascript code are initialize when the DomReady event is fired.
    You need to break down that code for more flexibility. For instance you can create a function that...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles