Search results

  1. as4s1n

    jQuery hover menu - Nothing works

    I am working on a hover menu using jQuery. For some reason nothing seems to work. What I want it to do is when you hover over the anchor tag the ol that is after it will expand revealing the contents of that subject header and retract when it is mousedout. I have no idea what is wrong. JQuery...
  2. as4s1n

    jQuery thumbnail viewer - Reopens div when already open

    Ok I got it working, however, I feel as though I forced this a little bit. The way I get the full sized image (and the way to make it change size) was to create a separate div that is invisible but has no set H or W attribute and create the full sized image there which then the jQuery gets the...
  3. as4s1n

    Subdomain dissappeared

    Whenever I try to go to my subdomain http://technologyBlog.sikuneh.x10hosting.com/ I always get redirected to this page http://technologyblog.sikuneh.x10hosting.com/cgi-sys/defaultwebpage.cgi and these error messages appear: If you are the web site owner, it is possible you have reached this...
  4. as4s1n

    PHP and MYSQL

    That usually means that there was an error with your query. However, no one can help you unless you post the code with this error.
  5. as4s1n

    I need help pls

    Your question is a bit vague. If you want to call the data from another table as well as keeping the original data table, just create a second $query, call it $query2 or something, and then rewrite the info to get from the database: $query2 = 'SELECT * FROM ' . $usertable; $result2 =...
  6. as4s1n

    jQuery thumbnail viewer - Reopens div when already open

    One question though. I've been looking at the jquery lightbox plugin, example here, and I began wondering: How do they get the background opaque in firefox and chrome and the other major browsers and the box completely visible? My link is to the most up-to-date version and now in FF 3.6 & 3.7a I...
  7. as4s1n

    jQuery thumbnail viewer - Reopens div when already open

    Ok thanks, I didn't see the clearQueue optional param, no problems anymore.
  8. as4s1n

    jQuery thumbnail viewer - Reopens div when already open

    In all browsers that issue happens. Ironically it seems the least evident in IE7/8. If you click on another thumbnail at any time while it is still opening when you try to close it you get a large bar. I tried your $.stop() method, but the problem is afterit is closed it starts up again, like...
  9. as4s1n

    jQuery thumbnail viewer - Reopens div when already open

    Well, the thing is, if you click on one thumbnail, then on another, then try to close it, the div has a 0 height and the last image's width but still has the full sized image outside the div.
  10. as4s1n

    jQuery thumbnail viewer - Reopens div when already open

    I am working on a thumbnail viewer and it's mostly complete. However, when the user opens it and then clicks on the same thumbnail, or any other for that matter, it reopens the div. I am using the $.animate() function to set the height and width from 0 to the image height. HTML: <div...
  11. as4s1n

    JQuery sliding menu - Remember which link was clicked

    Ok, I just realized I have a problem. My website uses an include in the main page, so whenever it calls the window.location.pathname variable it always returns index.php. Is there any way to fix that? Or would it be better to just use the variable in the URL?
  12. as4s1n

    JQuery sliding menu - Remember which link was clicked

    The way I am doing it involves several div tags. in this order: <div class="menuItems"> <div class="menuItemHeader">Root 1</div> <div class="menuSection"> <div class="menuExpand"><a href="#">Child 1</a></div> </div> <div...
  13. as4s1n

    JQuery sliding menu - Remember which link was clicked

    Ok, so tell me if I'm doing this right. It would be: // ... var whichLink = window.location.pathname; $(".menuExpand a[href='"+whichLink+"']").parent().parent().slideDown('fast'); I close the menuHeader div so it isn't a child of that, what can I use to get the menuHeader?
  14. as4s1n

    JQuery sliding menu - Remember which link was clicked

    So it would be something like: // ... var whichMenu = window.location.pathname; $(".menu .menuItemHeader:"+whichMenu).next().slideDow(); // ...
  15. as4s1n

    JQuery sliding menu - Remember which link was clicked

    Well, in the example I used a hash because I didn't want to write out every link, this is still the beta version of a site I'm working out. So, how would I get which I need?
  16. as4s1n

    JQuery sliding menu - Remember which link was clicked

    JQuery sliding menu - Remember which root a link that was clicked was in Hello, I am working on a jQuery sliding menu on my site. It is working just fine, although, when someone clicks on a link to go to a new page regardless of which page they go to it always expands the first root div...
  17. as4s1n

    jQuery & CSS Help...

    You could change the z-index of that. CSS: .slideshow { /* ... */ position:fixed; z-index:1; /* ... */ } .slideshowCaption { /* ... */ position:fixed; z-index:100; /* ... */ } You could try align in the <div align="center">
  18. as4s1n

    Sending email issue

    The preg_replace checks the input for a specific pattern of numbers/letters/characters. (I.E. yourEmail@email.com). That protects to make sure it is a valid email and to prevent any unwanted code (SQL injection). To make it easier just change the $email to $from_email. You defined...
  19. as4s1n

    Simple onfocus command

    try: var checkBox = document.forms.orderForm.elements.terms; if(checkBox.checked == false) { // Run code }
  20. as4s1n

    jQuery gallery - array of info not showing

    I am working on a gallery for my website. This gallery has images (thumbnails) that you hover over and down below it shows a bigger picture and on the right side it shows information about the picture, or rather, it should. When I hover over the thumbnail it shows a picture but I can't seem to...
Top