dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Nemesis02

Search: Search took 0.01 seconds.

  1. jQuery Developed a website explaining the plugin. You...

    Developed a website explaining the plugin. You can visit it at http://www.jbuilder.info
  2. Replies
    11
    Views
    888

    jQuery Yes. Make make a class called bolded with the...

    Yes. Make make a class called bolded with the style font-weight: bold; and then use addClass removeClass to add the bolded class to the text.
  3. The data has to be displayed as echo, not return....

    The data has to be displayed as echo, not return. So he is right. JS is not part of PHP, JS is a client side language while PHP is a server side. There are several ways though for you to...
  4. Replies
    11
    Views
    888

    jQuery Yes, you lost the event cause the original...

    Yes, you lost the event cause the original element it was attached to was replaced when you did the html call so you'll have to re-register the event with that element. There is no to physically see...
  5. Try using the ajax method and not post and set...

    Try using the ajax method and not post and set the return data type to html. To find out more, read up on the jquery api documentation for ajax.
  6. Replies
    18
    Views
    8,020

    You can actually use this, function...

    You can actually use this,


    function toggle(el) {
    if (el.class === undefined) {
    el.class = "";
    }
    if (el.class.match(/enlarged/) === null) {
    el.class += " enlarged";
    el.width =...
  7. Replies
    18
    Views
    8,020

    Ok, had to switch over to my laptop, can't debug...

    Ok, had to switch over to my laptop, can't debug stuff from my phone lol.

    This should work for you.


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  8. Replies
    18
    Views
    8,020

    Easy enough to fix lol, add this.class !==...

    Easy enough to fix lol, add this.class !== undefined to the beginning of the if statement as the first condition, if that one fails it shouldn't go on to the next one. It should look like

    if...
  9. Replies
    11
    Views
    888

    jQuery You should look carefully at your code, you...

    You should look carefully at your code, you attached your event to allnav which is inside navpane, when you do $("#navpane").html you basically emptied out the contents of the tag, events included...
  10. Replies
    18
    Views
    8,020

    Well I'll need an exact error from the debugger...

    Well I'll need an exact error from the debugger to help here, try to remove this as a parameter to toggle cause you maybe overwriting the object. When a function is triggered by event like on click,...
  11. Replies
    11
    Views
    888

    jQuery That doesn't really matter if it's the same or...

    That doesn't really matter if it's the same or not, think of it this way, easy tag is unique and when you attach an event, you attach it to the tag, you remove that tag you remove everything...
  12. Replies
    18
    Views
    8,020

    Im sorry that's my fault, change all the...

    Im sorry that's my fault, change all the references of it to this and see what happens
  13. jQuery *bump*

    *bump*
  14. Replies
    11
    Views
    888

    jQuery The reason that's happening is because you're...

    The reason that's happening is because you're removing the link which you had the event attached to. when you remove that anchor link, you remove the event as well and you have to reattach it.
  15. Replies
    18
    Views
    8,020

    try just using toggle() instead of toggle(this)...

    try just using toggle() instead of toggle(this) and then at the toggle function add an alert to see if it triggers. You can use Chrome's web developer tools to debug your code to see whether or not...
  16. Replies
    18
    Views
    8,020

    What you may want to do if you want to double the...

    What you may want to do if you want to double the size or half the size is as follows.


    function toggle(it) {
    if (it.class.match(/enlarged/) === null) {
    it.class += " enlarged";
    it.width...
  17. Replies
    9
    Views
    2,094

    What you might be able to do is wrap the iframe...

    What you might be able to do is wrap the iframe in a div, set the style to position: relative; then inside the div, set the style position to absolute and the width and height to the site of your...
  18. Replies
    2
    Views
    2,470

    jQuery The only way that I can think of to accomplish...

    The only way that I can think of to accomplish this is by using CSS3. For example,

    .rotate img {
    transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    -webkit-transform:...
  19. Have you tried using a JS debugger like web...

    Have you tried using a JS debugger like web developer tools in Google Chrome to debug your script to see what exactly is happening? I use it all the time to debug my own code and its really useful....
  20. jQuery jBuilder - Plugin for building websites w/o HTML

    Hey guys, just wanted to get some opinions on the topic and what people think on my little library. Some background on this is, I'm a Software Engineer working for a company who develops web apps...
Results 1 to 20 of 20
HTML5 Development Center



Recent Articles