We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Enter your own HTML !!!!

2»

Comments

  • use this one to have some text rotate around your mouse. (copy/paste)


    <SCRIPT LANGUAGE="JavaScript1.2">
    <!--//
    //Circling text trail
    //
    //
    // your message here
    var msg='TEXT HERE';
    var font='Verdana,Arial';
    var size=3; // up to seven
    var color='#000000';
    // This is not the rotation speed, its the reaction speed, keep low!
    // Set this to 1 for just plain rotation w/out drag
    var speed=.3;
    // This is the rotation speed, set it negative if you want
    // it to spin clockwise
    var rotation=.2;
    // Alter no variables past here!, unless you are good
    //
    var ns=(document.layers);
    var ie=(document.all);
    var msg=msg.split('');
    var n=msg.length;
    var a=size*15;
    var currStep=0;
    var ymouse=0;
    var xmouse=0;
    var scrll=0;
    var props="<font face="+font+" size="+size+" color="+color+">";
    if (ie)
    window.pageYOffset=0
    // writes the message
    if (ns){
    for (i=0; i < n; i++)
    document.write('<layer name="nsmsg'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+msg+'&lt;/font>&lt;/center>&lt;/layer>');
    }
    if (ie){
    document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
    for (i=0; i < n; i++)
    document.write('<div id="iemsg" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center;font-weight:regular;cursor:default">'+props+msg+'&lt;/font>&lt;/div>');
    document.write('&lt;/div>&lt;/div>');
    }
    (ns)?window.captureEvents(Event.MOUSEMOVE):0;
    function Mouse(evnt){
    ymouse = (ns)?evnt.pageY+20-(window.pageYOffset):event.y; // y-position
    xmouse = (ns)?evnt.pageX+20:event.x-20; // x-position
    }
    if (ns||ie)
    (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
    y=new Array();
    x=new Array();
    Y=new Array();
    X=new Array();
    for (i=0; i < n; i++){
    y=0;
    x=0;
    Y=0;
    X=0;
    }
    function makecircle(){ // rotation properties
    if (ie) outer.style.top=document.body.scrollTop;
    currStep-=rotation;
    for (i=0; i < n; i++){ // makes the circle
    var d=(ns)?document.layers:iemsg.style;
    d.top=y+a*Math.sin((currStep+i*1)/3.8)+window.pageYOffset-15;
    d.left=x+a*Math.cos((currStep+i*1)/3.8)*2; // remove *2 for just a plain circle, not oval
    }
    }
    function drag(){ // makes the resistance
    scrll=(ns)?window.pageYOffset:0;
    y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
    x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
    for (var i=1; i < n; i++){
    y=Math.round(Y+=(y[i-1]-Y)*speed);
    x=Math.round(X+=(x[i-1]-X)*speed);
    }
    makecircle();
    // not rotation speed, leave at zero
    setTimeout('drag()',10);
    }
    if (ns||ie)window.onload=drag;
    // -->
    </SCRIPT>
  • thanks for these.

    must just say that the last ojne with the rotating text is immensly annoying to look at!!

    thansk v much for the others tho.
    Once the realization is accepted that even between the closest human beings infinite distances continue, a wonderful living side by side can grow, if they succeed in loving the distance between them which makes it possible for each to see the other whole against the sky.
  • not necessarily... :-D

    There is a 'no highlight' HTML code which i use:

    <body onselectstart="return false">

    Also, there is a 'silent' no right-click which works with people who have javascript turned off:

    <body oncontextmenu="return false">

    The above codes need to be pasted into the BODY section of your HTML

    Hope this helps,

    Ehosin

    you can also print screen, paste it into paint and then cut out the pic. Or you could save the page and it'll download the pic for you
  • ehosin
    ehosin Posts: 216 Forumite

    you can also print screen, paste it into paint and then cut out the pic. Or you could save the page and it'll download the pic for you

    True, however i doubt many people know how to/can be bothered to go through such great lenghs to get a damn picture from an auction. :lol:

    -Ehosin
    YO!
  • lol... probably just me when i'm too bone idle to take a picture of mine.. (item for sale that is)
  • angelcake
    angelcake Posts: 4,496 Forumite
    :o
    :p:p Angel :p:p
  • not necessarily... :-D

    There is a 'no highlight' HTML code which i use:

    <body onselectstart="return false">

    Also, there is a 'silent' no right-click which works with people who have javascript turned off:

    <body oncontextmenu="return false">

    The above codes need to be pasted into the BODY section of your HTML

    Hope this helps,

    Ehosin

    Wicked love it love it love it
    ;D
  • Litotes
    Litotes Posts: 30 Forumite
    Just a general thought - can't you just save the whole page to hard disk and look at source in a text editor?

    And...

    Get the image from your cache...

    ???
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 354.4K Banking & Borrowing
  • 254.4K Reduce Debt & Boost Income
  • 455.4K Spending & Discounts
  • 247.3K Work, Benefits & Business
  • 604K Mortgages, Homes & Bills
  • 178.4K Life & Family
  • 261.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.