Search:

Type: Posts; User: thenajsays; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    2,240

    ive tried a number of variations on order,...

    ive tried a number of variations on order, placing the code directly in the page, placing it in a file and linking to the file... nothing works... but other javascript functions work correctly......
  2. Replies
    2
    Views
    2,240

    Prototype only works after refresh

    I'm having an issue with prototype...
    I have the following code that I want to execute:

    Event.observe(window, 'load', function(){
    $('mesTour1').hide();
    $('mesTour2').hide();...
  3. SOLVED $$('.rate').each(function(element,i){...

    SOLVED

    $$('.rate').each(function(element,i){
    element.addEvent('mouseup', function(){
    var myStyles = ['nostar', 'onestar', 'twostar', 'threestar', 'fourstar', 'fivestar'];
    var newPosition;...
  4. ok, ive made some serious headway... it updates...

    ok, ive made some serious headway... it updates the database and i know it has the ability to update the rating correctly... for some reason its not and i cant quite figure out what im missing......
  5. a lil more info... i know how to structure an...

    a lil more info... i know how to structure an ajax server request, both traditionally and via mootools... its making this code dynamic that im having a problem with
  6. help altering mootools rating system to update database

    im trying to add a star rating system to a website. id like to do something elegant graphically instead of just using a drop down... the javascript framework im using is mootools and i found a great...
  7. Replies
    2
    Views
    2,827

    got it

    got it
  8. Replies
    2
    Views
    2,827

    end of file doesnt complete...

    ok, i have an index with a content include... with a certain content include, iit leaves off the close tags for body, html & a div tag as well as omitting another include for the footer...
    here is...
  9. Replies
    4
    Views
    31,484

    thanks... completely obvious to me now! i was...

    thanks... completely obvious to me now! i was having a doorknob moment! :) sorry!
  10. Replies
    4
    Views
    31,484

    that doesnt really make sense to me? heres my...

    that doesnt really make sense to me? heres my script:
    <?php

    $action = $_REQUEST['action'];
    //$id = $_REQUEST['id'];
    echo "<h2>Edit Listing Type</h2>\n";
    if ($action == 'delete')
    {
    $id...
  11. Replies
    4
    Views
    31,484

    option selected onload

    im having a bit of trouble working out a problem... i have a PHP form with a drop down. if the form is called to add a new record into the database, the default select option is set. if the form is...
  12. Do you know Prototype AND Mootools? If so, I need your help!

    im currently using a prototype add on for one of my sites and id like to convert it to mootools... problem is, i dont know the first thing about prototype! i stumbled upon this before i learned any...
  13. Thread: detect IE8?

    by thenajsays
    Replies
    1
    Views
    5,221

    detect IE8?

    anyone know a script that can detect IE8?
  14. Replies
    2
    Views
    3,701

    yup... i believe all you need to do is save the...

    yup... i believe all you need to do is save the file with a PHP extension as opposed to HTML (or JS) and then it should work... i did something similar to this on a contact form... theres an ajax...
  15. Replies
    28
    Views
    15,183

    no problem! cheers!

    no problem! cheers!
  16. Replies
    28
    Views
    15,183

    <style type="text/css">
    <!--
    .style7 {
    color: #6b878b;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    }

    </style>
  17. got it:

    got it:

    <!--
    var backgroundImages=new Array();
    backgroundImages[0]="http://images2.wikia.nocookie.net/lostpedia/images/d/df/Jackseason5.jpg";...
  18. hmmmm... im gonna have to think about this...

    hmmmm... im gonna have to think about this...
  19. OH! ok... so then you start off with a slightly...

    OH! ok... so then you start off with a slightly modified version of your first code:

    <!--
    var backgroundImages=new Array(9);
    backgroundImages[0]="html-homeimages/bk1.jpg";...
  20. you tried something similar......

    you tried something similar...
    math.floor(Math.random) * 9 + 1 creates a random number... you want to click through an array of images... do you want to click through them in order? then you wouldnt...
  21. you could do ifs, like this: randNum=...

    you could do ifs, like this:



    randNum= Math.floor(Math.random()* 9+1 );
    if (randNum == 0){
    do something
    }
    else if (randNum == 1){
    do something else
  22. Replies
    1
    Views
    1,772

    add an id to the cell, then add an onblur event...

    add an id to the cell, then add an onblur event to the rate field, like this:

    <td id="pcost"></td>
    and


    <input type="text" name="qty" id="qty">
    <input type="text" name="rate" id="rate"...
  23. Replies
    28
    Views
    15,183

    hmmmm can i see your code again?

    hmmmm can i see your code again?
  24. Replies
    28
    Views
    15,183

    photo id is right, but it needs to be in...

    photo id is right, but it needs to be in quotes...


    <a href="alterations.htm" target="iframe1" onClick="document.getElementById('photo1').src= 'images/alterationstop.jpg'">alterations</a>

    i...
  25. Replies
    28
    Views
    15,183

    View Post

    <a href="alterations.htm" target="iframe1" onClick="document.getElementById(photo id goes here).src= 'images/newimage.jpg'">
    i dunno what i was thinking about the innerHTML example... that wont...
Results 1 to 25 of 144
Page 1 of 6 1 2 3 4