1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

web site help

Discussion in 'Software Development' started by deuce, Jan 25, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    Well.......we agreed to a change in the homepage, but the black is still there (for now). What do you think of the changes? I think the new format at least makes the black background easier on the eyes. As for the hover buttons, they aren't in there yet because the code decided to be figity. :rolleyes:
     
  2. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    Does anybody know how to disable the "right-click" function and "highlighting" of text on a page? I want to be able to prevent people from taking anything from the academic journal.
     
  3. pyritechips

    pyritechips Gone but Never Forgotten

    Joined:
    Jun 2, 2002
    Messages:
    26,907
    First Name:
    Jim
    Yes deuce- I will get the code for you...brb
     
  4. pyritechips

    pyritechips Gone but Never Forgotten

    Joined:
    Jun 2, 2002
    Messages:
    26,907
    First Name:
    Jim
    Here it is. Once again I have spaced the brackets:
    <hr>
    < script language=JavaScript >
    < !--

    //Disable right mouse click Script
    //By Maximus ([email protected]) w/ mods by DynamicDrive
    //For full source code, visit http://www.dynamicdrive.com

    var message="Function Disabled!";

    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }

    function clickNS4(e){
    if (document.layers||document.getElementById&&!document.all){
    if (e.which==2||e.which==3){
    alert(message);
    return false;
    }
    }
    }

    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }

    document.oncontextmenu=new Function("alert(message);return false")

    // -->
    < /script >
     
  5. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    Thanks Jim!


    So what do you think of the new opening page? Tonight I hope to figure out that flash stuff and have some kind of video on there by tomorrow. :rolleyes:
     
  6. pyritechips

    pyritechips Gone but Never Forgotten

    Joined:
    Jun 2, 2002
    Messages:
    26,907
    First Name:
    Jim
    You're welcome! But I must give credit where it's due. I am getting those scripts from the site I posted earlier and that you say you can't connect to. Hopefully you can get to it soon and check out for yourself all the handy and useful things they have. They have all the animated menu features also that really makes a webpage look professional!

    Page looks good so far! slap on a couple of pics to brighten it up and get those buttons working. Good luck with the Flash animation!
     
  7. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    Thanks....I've never used the flash animation before, but it shouldn't be a problem.


    So what do you think about the first page now?........now be honest...................does the black work out?
     
  8. pyritechips

    pyritechips Gone but Never Forgotten

    Joined:
    Jun 2, 2002
    Messages:
    26,907
    First Name:
    Jim
    Sorry pal- I like the layout but I am an enemy of black. I have bad eyes and light text on black page physically hurts my eyes. When I see a dark page or bright coloured pages, I use internet tools to turn off the colours. But that's just me.:rolleyes:
     
  9. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    Well I'll try to talk him into changing the color again. I suggested it today and he didn't go for it...............I guess could always just change it...:rolleyes:




    So, about that code.................I just tried it and it disables the right-click function...which is great...but you can still copy using "control+c" and "edit-->copy"............is there one there that gets rid of those functions too?
     
  10. pyritechips

    pyritechips Gone but Never Forgotten

    Joined:
    Jun 2, 2002
    Messages:
    26,907
    First Name:
    Jim
    OK try this. This disables text selection so you can't highlight/copy:
    <hr>
    < script language="JavaScript1.2" >

    //Disable select-text script (IE4+, NS6+)- By Andy Scott
    //Exclusive permission granted to Dynamic Drive to feature script
    //Visit http://www.dynamicdrive.com for this script

    function disableselect(e){
    return false
    }

    function reEnable(){
    return true
    }

    //if IE4+
    document.onselectstart=new Function ("return false")

    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    < /script >
     
  11. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    Thanks Jim!......works like a charm. ;)
     
  12. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    And BTW........I just checked dynamic drive and it's back up for me now.....lots of good stuff there, thanks for the link. :)
     
  13. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    I just checked through that dynamic drive.....and didn't find anything on this. Does anybody know how to assign custom icons to pages?................for example you add it to your favorites and instead of the "IE" icon you can have your own.
     
  14. Toddles18

    Toddles18

    Joined:
    Jul 18, 2001
    Messages:
    2,910
    I have the code for the Icon in the favorites like your talking about but I don't know how to paste the code for it in here, I tried with the Code tags but it wasn't working for me.

    Another thing, change the width of the table from 1072 to 1024. That way most people wont have to scroll horizontally
     
  15. deuce

    deuce Thread Starter

    Joined:
    May 26, 2001
    Messages:
    7,530
    Thanks.....................I've noticed that but never think to change it.


    Ok I've made many changes to a few pages just recently.......what do you guys think? (the other pages will be changed when I get to them) How do these four pages look? I've thinking I'll theme everything in this way. What do you guys think about the red and white scroll bars on the main page?...............good.............bad..........lose'em............keep'em?

    And Todd..............what are your thoughts on the main page? About posting script...........just add spaces next to the carets and it will post. Thanks!




    http://www.csbsju.edu/iacclub/

    http://www.csbsju.edu/iacclub/IAC WORD!/WORD!.htm (I'm thinking I should double space on this page)

    http://www.csbsju.edu/iacclub/IAC BEYOND/Beyond Home.htm

    http://www.csbsju.edu/iacclub/IAC films.htm








    And BTW................................................34-3 Tampa. :D :D
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/115239

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice