www.webdeveloper.com

Search:

Type: Posts; User: dylanwang

Search: Search took 0.02 seconds.

  1. Thread: Help?

    by dylanwang
    Replies
    5
    Views
    1,013

    I'm no expert at this, but I'm thinking, if you...

    I'm no expert at this, but I'm thinking, if you use javascript to store your variables won't people be able to see them?

    I've made simple members areas before using PHP, and it was quite simple.
    ...
  2. Replies
    3
    Views
    1,521

    I'm thinking you want to change the class because...

    I'm thinking you want to change the class because you have CSS applied to certain classes.

    you can try something like this. I'm no javascript expert, so note i said "try". Not sure if this works....
  3. Put site under maintenance but allow my IP to access

    So during a maintenance, here's what I would have in my .htaccess file:
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_URI} !^/maintenance\.php$
    RewriteCond %{REMOTE_HOST}...
  4. Replies
    2
    Views
    4,113

    I have trouble understanding what part of it...

    I have trouble understanding what part of it exactly you need to know.
    If you're talking about getting the external url from the parameter thing, here's how:

    Let's say you want your message to...
  5. Replies
    4
    Views
    2,537

    What I'm thinking is what you can do is this:...

    What I'm thinking is what you can do is this:
    Let's say your emotion and image will be 'Bored'.

    So just make your image variable as './images/'+emotion+'.png'
    And the random number only has to...
  6. Replies
    4
    Views
    2,445

    Let's say on the description page, $item =...

    Let's say on the description page, $item = 'name';
    Let's say your order form is example.com/orderform.php

    So just make the link take them to the page:
    example.com/orderform.php?item=<?php echo...
  7. Replies
    3
    Views
    3,015

    PHP or XML for storing data?

    Okay I've been using PHP for this for a while, and I just started reading about XML. I think I get what XML is about, and I've seen some examples of it. So I'm wondering which would be better for...
  8. Replies
    0
    Views
    2,022

    RewriteRule not working

    I've been working with the likes of CSS, HTML, PHP, Javascript, etc. and I've just started using my .htaccess .

    My page's URL looks like this:
    example.com/directory/?id=1
    I want it to look like...
  9. Is it possible to have page redirection via arrow keys?

    Like in some sites if you press the "right" arrow key, it brings you to the next page. And if you press the "left" arrow key, it brings you to the previous page.
    I think they use javascript to make...
  10. I apologize for being unclear, but what you said...

    I apologize for being unclear, but what you said worked.
    Thanks.
  11. Extracted part of URL used as a number value?

    let's say the URL of the page is:
    www.example.com/directory/10/index.php

    here's the javascript:

    var directory = location.href.indexOf("directory");
    var slash = location.href.indexOf("/",...
  12. basically if the page is called:...

    basically if the page is called:
    example.com/example/1/index.php
    then i want the variable to be 1.

    example.com/example/2/index.php
    then i want the variable to be 2.

    so basically one thing i...
  13. Is it possible to have a javascript variable that depends on the url of the page?

    For example, if the pages are called:

    example.com/example/1/index.php
    example.com/example/2/index.php
    ...
    example.com/example/99/index.php

    and it keeps going.
Results 1 to 13 of 13
HTML5 Development Center



Recent Articles