dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: heybrian

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,806

    Tool that searches google to find my site

    Hi, does anyone know of a web site app where I can enter in my site URL and some keywords...

    Then it will tell me what page my site is now appearing on in the Google results page (or another...
  2. Replies
    3
    Views
    3,281

    Hi, I don't want to give the contact link an...

    Hi,
    I don't want to give the contact link an id.
    Instead like to use the id from the div and then traverse to the element and setAttribute either onmouseover or onload.

    I don't have the correct...
  3. Replies
    3
    Views
    3,281

    Unobtrusive javascript link update.

    Hi,
    I am trying to update the contact in this code using an external js file and targeting the "Contact me" node using the DOM: (see my js attempt below.):

    <div id="navMain">
    <ol>
    <li><a...
  4. Thanks, but this new version didn't work. I...

    Thanks, but this new version didn't work.

    I slept on it, and wrote this: (for a table with 8 columns, and unspecified amount of rows (from 20 - 250.))


    <script type="text/javascript">
    var...
  5. Wow! Thanks, but..

    Thank you toicontien and thraddash,

    I put thraddash's script to work, but then I realized that I failed to mention that there will be other numeric columns that should not be colored, rather they...
  6. Access table column, if negative #, color: red

    Hi,
    I've been trying to figure this out for hours.
    I want to write a js so that if the number in the 2nd column is negative, then the javascript changes the css color to red, so that the number is...
  7. Cache page on server using PHP with auto refresh

    Hi,
    I have a site that uses PHP to pull and display Yahoo stock quotes via cvs files.
    The page loads glacially slow.

    To solve the slowness, I want to create a cached version of these stock quote...
  8. Replies
    4
    Views
    2,735

    I'm not that good at PHP myself but will research...

    I'm not that good at PHP myself but will research further;
    Do you have any other server-side code ideas to make this work? perl, etc.

    Thanks again for the javascript; let me know if you ever have...
  9. Replies
    4
    Views
    2,735

    Thanks Gozzy82, that worked great. I created a...

    Thanks Gozzy82, that worked great. I created a button to shuffle the flags instead so people wouldn't see the shuffle after load--But,
    How do you suggest doing this on the server side so the page...
  10. Replies
    4
    Views
    2,735

    Randomly arrange elements onload.

    Hi everyone,
    onload of this page: http://www.heybrian.com/travels/
    I would like the flags (each in it's own <div> tag) to randomly arrange.
    Now, they are in alphabetical order.
    How can I do this...
  11. Half way

    Yes, nathandelane is correct. I need check boxes.
    Also, nathandelane, this is a great start.
    I also need this second part:
    If any one (or several/all) of the other check boxes is checked, then...
  12. Checkbox cancelation: If one checked gray others; visa versa.

    See code below:
    If "None" is selected, I need all the other check boxes grayed out.
    If any one (or several/all) of the other check boxes is checked, then "None" grays out. How can I make this work?...
  13. Hi, I wanted to ask what does this line of code...

    Hi, I wanted to ask what does this line of code do:

    //check to see if the file is being viewed by file/http protocol
    if(window.location.href.indexOf("file://") == -1){

    ?

    Thanks!
  14. Dang! You are fast! Thanks again! You will live...

    Dang! You are fast! Thanks again! You will live the life you want.
  15. Yeah, that's a good point. One last question: I...

    Yeah, that's a good point. One last question:
    I am going to use this script (the first one):
    <a href="url_link" onclick="if(navigator.appName!='Microsoft Internet Explorer'){ alert('Please use the...
  16. Yeah, I agree, but the reason is links to...

    Yeah, I agree, but the reason is links to directories only work on IE, such as file:\\folder_name. (On IE, this will open a folder.)
    For security reasons, these links don't work on Firefox, etc. So...
  17. Oh nice, that works now. Thank you. Is there...

    Oh nice, that works now. Thank you.

    Is there anyway to say:

    If URL begins with "file://" then enact the conditional comments script,

    If URL begins with http:// then just display the URL and...
  18. I like this Conditional comments code:

    I like this Conditional comments code:
    <!--[if !IE]>
    <a href="#" onclick="alert('please use IE');">link</a>
    <![endif]-->
    <!--[if IE]>
    <a href="nextpage.html">link</a>
    <![endif]-->

    BUT,...
  19. Thanks again, neat how the transitional XHTML...

    Thanks again, neat how the transitional XHTML requires the case-sensitivity. I should have know that because most of my pages are now XHTML transitional compliant.
  20. Sick, that works. Doctype is XHTML 1.0...

    Sick, that works. Doctype is XHTML 1.0 Transitional, btw.
    Is there anyway to use shorthand, putting some code in the <head> tag and then having smaller <a> tag code?

    Thanks again!
  21. Hmm. it's still not working with this:

    Hmm. it's still not working with this:

    <a href="file:\\Mojito\subarchive" onClick="if(Navigator.appName=='Netscape'){ alert('Please use the Internet Explorer browser for this link.')}";>link</a>
    ...
  22. So you mean this:...

    So you mean this:
    onClick="if(Navigator.appName=='Mozilla'){ alert('Please use the Internet Explorer browser for this link.')}";

    This works only in IE, and not in Firefox, I need the opposite..
  23. Alert box only in Firefox - onclick javaScript

    Hi, I am needing an alert box to pop-up only when a user clicks a link in Firefox. Here is what I have so far:

    <a href="file:\\Mojito\subarchive" title="Please use the Internet Explorer browser...
Results 1 to 23 of 23
HTML5 Development Center



Recent Articles