Advanced Search

Search:

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

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    15,431

    Try this

    ErrorDocument 404 /path/to/your/error/file/or/script
    ErrorDocument 500 /path/to/your/error/file/or/script
    ErrorDocument 403 /path/to/your/error/file/or/script

    in a .htaccess file.
    ...
  2. Replies
    7
    Views
    7,591

    You can focus on an input element easily. ...

    You can focus on an input element easily.

    <input type="text" id="test" value="field" onfocus="this.style.bakgroundColor='red'" onblur="this.style.bakgroundColor='white'">



    If you want to...
  3. Replies
    10
    Views
    2,679

    Yes. I have seen one. It was exactly as you ask -...

    Yes. I have seen one. It was exactly as you ask - a javascript album that mimics flash effects. All you would have to do would be to alter the code to change the colours.

    Sadly I have no clue...
  4. Thread: link referrers

    by Bob90
    Replies
    2
    Views
    2,103

    It's a common ploy as stated above. You see it...

    It's a common ploy as stated above. You see it and navigate to their site. Simple.
  5. try sectionsToHide =...

    try


    sectionsToHide = ["section1","section2","section3"]

    function hideAll(){
    var x;
    for(x=0;x<sectionsToHide.length;x++){
    document.getElementById(sectionsToHide[x]).style.display = "none";...
  6. I think I mean cross-domain scripting more than...

    I think I mean cross-domain scripting more than XSS vunerabilities. I'm going to read up some more about it.

    The basic idea is to log on to a document collaborator, like 'Aconex', 'Cadweb', or...
  7. Cross site javascript privileges and bookmarklets

    What privileges do you have when you enter javascript into the address bar?

    Does this change when it's a bookmarklet?

    What about adding a local script from a bookmarklet - does this occur as a...
  8. Just save the photo as a low quality JPEG. This...

    Just save the photo as a low quality JPEG. This will look fine on the screen, but nobody will pay for it.

    Or just re-save the picture again and again as a jpeg to lose quality.
  9. Replies
    1
    Views
    1,435

    This can be done, but will take some time to...

    This can be done, but will take some time to code. I suggest you look at this website (Sections 3 & 4) for sound.

    http://www.phon.ucl.ac.uk/home/mark/audio/play.htm
  10. What editor do you use to write/edit HTML files?...

    What editor do you use to write/edit HTML files? (Notepad, notepad++, dreamweaver, aptana etc)

    Open the editor and create a new javascript page. If you use notepad save the file as filename.js...
  11. If the URL is seen in the address bar then yes yo...

    If the URL is seen in the address bar then yes yo can do it.



    <HTML>
    <HEAD>
    <SCRIPT type="text/javascript">
    function getQuerystrings(inputId) {

    var urlString = parent.document.URL;
  12. Replies
    3
    Views
    1,816

    Why? If the page is loading, then the user may...

    Why?

    If the page is loading, then the user may not be able to see the image. So if the image changes as soon as the page loads, the user may not see the change.:confused:
  13. Thread: Help!

    by Bob90
    Replies
    1
    Views
    1,017

    You really should get in to the habit of using...

    You really should get in to the habit of using javascripts built-in functions. Regular Expressions, or regExp for short, are convienient functions for searching for strings (words or numbers).


    ...
  14. Replies
    8
    Views
    3,628

    I'm not as evil as I seem, but saying that you're...

    I'm not as evil as I seem, but saying that you're 'almost certain' I wouldn't be able to help was rude - I hope you're suitably ashamed. It was actually the working example I used to test with. I'm...
  15. Replies
    8
    Views
    2,143

    I'll have a look in a couple of days as I am busy...

    I'll have a look in a couple of days as I am busy at the mo, maybe someone else will be able provide an example or solution.

    :)
  16. Replies
    8
    Views
    2,143

    Ok

    So I went a bit fast.

    When I said menu bar, menu-items and sub-menu I was referring to your menu system.

    As for the functions I meant you have to write the code.

    I suggested using four...
  17. Replies
    3
    Views
    1,399

    I mean the site may be copyrighted or the script...

    I mean the site may be copyrighted or the script may be.
    If you didn't write it don't use it unless your are allowed. That is what I meant.

    You are trying to edit it and you say you aren't a...
  18. Replies
    7
    Views
    4,465

    whoops, try this window.onload =...

    whoops,

    try this


    window.onload = function() {
    if (top.location == self.location) //if this window is the only one (there is no 'top' window')
    top.location =...
  19. Replies
    8
    Views
    2,143

    something like this

    lets call it a menu bar with menu-items and sub-menus.

    This is not functional code



    menu-item.onmouseover = function(){
    //clear last sub-menu if there was one
    clearTimeout(menu.timeout);...
  20. Replies
    5
    Views
    2,787

    When you say 'activated' do you mean 'keep...

    When you say 'activated' do you mean 'keep displaying'?

    I ask because you are using onmouseover(), not onclick().
  21. Replies
    7
    Views
    4,465

    I understand now

    Try adding this to your iframe pages.


    window.onload = function() {
    if (top.location != self.location) //if this window is the only one (there is no 'top' window')
    top.location =...
  22. Replies
    6
    Views
    3,581

    try

    See here
    http://www.wpdfd.com/editorial/thebox/deadcentre4.html

    Do you really need to add a transparent .png? Surely you can do what you want with CSS.

    I thought divs with no background were...
  23. Replies
    7
    Views
    4,465

    clarification

    Do you mean you load a different website that display your website?
    Does anything display instead of the iframe?
  24. Replies
    3
    Views
    1,939

    just a guess

    try this

    <script type="text/javascript">
    window.onload = function(){
    if(location.href.indexOf('layer=') != -1)
    if(document.getElementById(location.href.split('layer=')[1]))...
  25. try

    onclick() with a lowercase c.
Results 1 to 25 of 260
Page 1 of 11 1 2 3 4