www.webdeveloper.com

Search:

Type: Posts; User: *Tom*

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: DOS/Batch File 2

    by *Tom*
    Replies
    4
    Views
    1,057

    I can't quite work out exactly what it is you're...

    I can't quite work out exactly what it is you're trying to do.
    Do you want the test1 variable to contain the string "Serial#=123456" instead of "IdentifyingNumber=123456", or are you trying to...
  2. Replies
    5
    Views
    6,226

    AJAX I'm out of ideas. Since I'm not really sure what...

    I'm out of ideas. Since I'm not really sure what else is going on in your page I've set up a test version here where I've copied your function and the only changes I've made are I've commented out...
  3. Replies
    7
    Views
    1,702

    Well you could disable then re-enable the...

    Well you could disable then re-enable the specific buttons while the function is running, or perhaps dynamically create a div and position it over the contents of the window.



    <style...
  4. Replies
    8
    Views
    1,430

    If you want to force all the links to open in a...

    If you want to force all the links to open in a new window then you could change the line in the cycle function:

    document.getElementById('adLink1').href = slides[i]['lnk'];

    to:

    var link =...
  5. Replies
    8
    Views
    1,430

    Did you set an initial image, link and caption in...

    Did you set an initial image, link and caption in the HTML? The script as it is wont change anything for the first 6 seconds.

    If you'd rather not have to do that you could modify the cycle...
  6. Replies
    5
    Views
    6,226

    AJAX Well I tried running the script and it fails at...

    Well I tried running the script and it fails at that line saying transID is undefined. If I define it even without a value it seems to run.
  7. Replies
    5
    Views
    6,226

    AJAX Are you saying the transid field is never being...

    Are you saying the transid field is never being submitted, or only when whereTo=="toolbox"? Because you have an undefined variable transID. Should that be the value of the transid field as it is in...
  8. Replies
    8
    Views
    1,430

    How about this:

    How about this:

    <html>
    <head>
    <script type="text/javascript">
    var slides = new Array(
    { img:'Temp01a.jpg', alt:'', lnk:'http://marinas.com/001', cap:'Caption 1' },
    { img:'Temp02a.jpg',...
  9. Replies
    1
    Views
    3,511

    You're printing join(", ",@drivers),"\n"; before...

    You're printing join(", ",@drivers),"\n"; before sending any (valid) headers to the browser, which is why it's interpreting it as a malformed header. You have the print $q->header; line further...
  10. Replies
    1
    Views
    3,611

    The image you're displaying is for the value of i...

    The image you're displaying is for the value of i that was calculated on the last function call, because you're displaying it before modifying it.

    How about something like this?


    <script...
  11. Replies
    4
    Views
    1,221

    Hi, thanks for your replies, the solution looks...

    Hi, thanks for your replies, the solution looks so obvious now :rolleyes:. You're right about me wanting to match more than one non-alpha character, that only occurred to me after I'd posted but I...
  12. Replies
    2
    Views
    675

    How about something like this

    How about something like this



    <script type="text/javascript">
    <!--
    var newsindex = 0;
    var newsdelay = 8;
    var news = new Array();
    news[0] = 'a test of a Title News|just testing to write...
  13. Replies
    1
    Views
    716

    Hi, you could try

    Hi, you could try


    <body onLoad="window.scroll(xcoordinate, ycoordinate);">

    or if you want it to sroll to (roughly) the center you could try something like


    <body...
  14. Replies
    4
    Views
    1,221

    Problem with search function

    I'm tring to write a simple text search that ignores any non-alphanumeric characters. For example, I don't want a user to enter something like "find this" and not get a match because the string...
  15. oh ok, is there any reason we shouldn't use my...

    oh ok, is there any reason we shouldn't use my method, other than the fact the CGI module does the work of converting the %hex numbers back to characters?
  16. Are you trying to hide the query string? The...

    Are you trying to hide the query string?

    The form thats submitted needs to use the POST method:
    <form method="POST" action="BlogRSS.pl">

    then to retrieve the data instead of

    my $qs =...
  17. Replies
    2
    Views
    621

    That probably is the simplest way of doing it......

    That probably is the simplest way of doing it... but different browsers return different values for the Date() function
    eg:

    IE Sat Aug 4 14:15:26 PDT 2007
    Firefox Sat Aug 04 2007 14:16:04...
  18. Replies
    8
    Views
    1,053

    This is a Microsoft example. I think it uses the...

    This is a Microsoft example. I think it uses the windows script host to run if you save it as a .js file on your computer, but I doubt it will run directly from a web page.



    var vbOKCancel = 1;...
  19. Replies
    3
    Views
    813

    This will take the variables out of the query...

    This will take the variables out of the query string providing it only contains text and numbers. Any other characters will be turned into hex codes
    eg ! = %21

    if the query string is...
  20. Replies
    1
    Views
    1,754

    How to install GD

    I'm trying to install the GD Perl module on my computer, but I'm really confused as to how to do it. I've spent hours searching online but can't find a step by step guide that i can follow.
    I'm...
  21. Replies
    3
    Views
    988

    It worked, thanks for your help guys!

    It worked, thanks for your help guys!
  22. Replies
    3
    Views
    988

    regular expressions

    I'm trying to add something to a Perl script for a chatroom that will stop annoying users from posting long strings of the same letter or character. For example, if the string contains 5 or more of...
  23. Replies
    2
    Views
    755

    Why didn't I think of that! Thanks

    Why didn't I think of that!

    Thanks
  24. Replies
    2
    Views
    755

    Positioning a window

    Is there any way of repositioning and resizing a window once it has already been opened?
    I don't know what the initial size and position is, so I can't use window.resizeBy(x,y) and...
  25. Replies
    3
    Views
    863

    I tried that, but it does the same as before. It...

    I tried that, but it does the same as before. It works in IE but not anything else.
Results 1 to 25 of 29
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles