Phpbb3 • Administration • BBCodes • Forum Nuts and Bolts

It is currently Fri Mar 12, 2010 5:02 pm

All times are UTC




Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 6:56 pm 
Offline

Joined: Wed Sep 23, 2009 5:13 pm
Posts: 31
hosted on:: FreeForums.org
No...
I see this:
Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:00 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 30, 2008 3:57 am
Posts: 476
Location: USA
hosted on:: Prophpbb
Thats really strange... It appears that it is going to post differently for both of us .. but since you probably have mostly Hebrew language pack people on your board we should try to set it up for them although it may not look correct for other language people coming into your board... Hang on let me see what I can do about this...

~FN~

_________________
Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:05 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 30, 2008 3:57 am
Posts: 476
Location: USA
hosted on:: Prophpbb
Try this and post an image of what it looks like to you.

~FN~

Code:
Code:
  <script type="text/javascript">

/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/

var trailimage=["http://img81.imageshack.us/img81/5804/customlogo.png", 155, 44] //image path, plus width and height
var offsetfrommouse=[-30,-150] //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0 //duration in seconds image should remain visible. 0 for always.

if (document.getElementById || document.all)
document.write('<div id="trailimageid" style="position:absolute;visibility:visible;left:0px;top:0px;width:1px;height:1px"><img src="'+trailimage[0]+'" border="0" width="'+trailimage[1]+'px" height="'+trailimage[2]+'px"></div>')

function gettrailobj(){
if (document.getElementById)
return document.getElementById("trailimageid").style
else if (document.all)
return document.all.trailimagid.style
}

function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function hidetrail(){
gettrailobj().visibility="hidden"
document.onmousemove=""

}

function followmouse(e){
var xcoord=offsetfrommouse[1]
var ycoord=offsetfrommouse[0]
if (typeof e != "undefined"){
xcoord+=e.pageX
ycoord+=e.pageY
}
else if (typeof window.event !="undefined"){
xcoord+=truebody().scrollLeft+event.clientX
ycoord+=truebody().scrollTop+event.clientY
}
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
gettrailobj().display="none"
else
gettrailobj().display=""
gettrailobj().left=xcoord+"px"
gettrailobj().top=ycoord+"px"
}

document.onmousemove=followmouse

if (displayduration>0)
setTimeout("hidetrail()", displayduration*1000)

</script>

_________________
Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:12 pm 
Offline

Joined: Wed Sep 23, 2009 5:13 pm
Posts: 31
hosted on:: FreeForums.org
Thats very strange...
Now I see this
Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:14 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 30, 2008 3:57 am
Posts: 476
Location: USA
hosted on:: Prophpbb
OK now try this and post an image of what it looks like to you.

~FN~

Code:
Code:
  <script type="text/javascript">

/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/

var trailimage=["http://img81.imageshack.us/img81/5804/customlogo.png", 155, 44] //image path, plus width and height
var offsetfrommouse=[-30,150] //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0 //duration in seconds image should remain visible. 0 for always.

if (document.getElementById || document.all)
document.write('<div id="trailimageid" style="position:absolute;visibility:visible;left:0px;top:0px;width:1px;height:1px"><img src="'+trailimage[0]+'" border="0" width="'+trailimage[1]+'px" height="'+trailimage[2]+'px"></div>')

function gettrailobj(){
if (document.getElementById)
return document.getElementById("trailimageid").style
else if (document.all)
return document.all.trailimagid.style
}

function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function hidetrail(){
gettrailobj().visibility="hidden"
document.onmousemove=""

}

function followmouse(e){
var xcoord=offsetfrommouse[1]
var ycoord=offsetfrommouse[0]
if (typeof e != "undefined"){
xcoord+=e.pageX
ycoord+=e.pageY
}
else if (typeof window.event !="undefined"){
xcoord+=truebody().scrollLeft+event.clientX
ycoord+=truebody().scrollTop+event.clientY
}
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
gettrailobj().display="none"
else
gettrailobj().display=""
gettrailobj().left=xcoord+"px"
gettrailobj().top=ycoord+"px"
}

document.onmousemove=followmouse

if (displayduration>0)
setTimeout("hidetrail()", displayduration*1000)

</script>

_________________
Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:18 pm 
Offline

Joined: Wed Sep 23, 2009 5:13 pm
Posts: 31
hosted on:: FreeForums.org
Yeaaaaaa.... Only more 5-6 mm to right :lol:

Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:22 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 30, 2008 3:57 am
Posts: 476
Location: USA
hosted on:: Prophpbb
Ok try this :D

~FN~

Code:
Code:
  <script type="text/javascript">

/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/

var trailimage=["http://img81.imageshack.us/img81/5804/customlogo.png", 155, 44] //image path, plus width and height
var offsetfrommouse=[-30,160] //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0 //duration in seconds image should remain visible. 0 for always.

if (document.getElementById || document.all)
document.write('<div id="trailimageid" style="position:absolute;visibility:visible;left:0px;top:0px;width:1px;height:1px"><img src="'+trailimage[0]+'" border="0" width="'+trailimage[1]+'px" height="'+trailimage[2]+'px"></div>')

function gettrailobj(){
if (document.getElementById)
return document.getElementById("trailimageid").style
else if (document.all)
return document.all.trailimagid.style
}

function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function hidetrail(){
gettrailobj().visibility="hidden"
document.onmousemove=""

}

function followmouse(e){
var xcoord=offsetfrommouse[1]
var ycoord=offsetfrommouse[0]
if (typeof e != "undefined"){
xcoord+=e.pageX
ycoord+=e.pageY
}
else if (typeof window.event !="undefined"){
xcoord+=truebody().scrollLeft+event.clientX
ycoord+=truebody().scrollTop+event.clientY
}
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
gettrailobj().display="none"
else
gettrailobj().display=""
gettrailobj().left=xcoord+"px"
gettrailobj().top=ycoord+"px"
}

document.onmousemove=followmouse

if (displayduration>0)
setTimeout("hidetrail()", displayduration*1000)

</script>

_________________
Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:24 pm 
Offline

Joined: Wed Sep 23, 2009 5:13 pm
Posts: 31
hosted on:: FreeForums.org
More 5 mm to right please :BG:


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:25 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 30, 2008 3:57 am
Posts: 476
Location: USA
hosted on:: Prophpbb
Ok try this :D

~FN~

Code:
Code:
  <script type="text/javascript">

/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/

var trailimage=["http://img81.imageshack.us/img81/5804/customlogo.png", 155, 44] //image path, plus width and height
var offsetfrommouse=[-30,175] //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0 //duration in seconds image should remain visible. 0 for always.

if (document.getElementById || document.all)
document.write('<div id="trailimageid" style="position:absolute;visibility:visible;left:0px;top:0px;width:1px;height:1px"><img src="'+trailimage[0]+'" border="0" width="'+trailimage[1]+'px" height="'+trailimage[2]+'px"></div>')

function gettrailobj(){
if (document.getElementById)
return document.getElementById("trailimageid").style
else if (document.all)
return document.all.trailimagid.style
}

function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function hidetrail(){
gettrailobj().visibility="hidden"
document.onmousemove=""

}

function followmouse(e){
var xcoord=offsetfrommouse[1]
var ycoord=offsetfrommouse[0]
if (typeof e != "undefined"){
xcoord+=e.pageX
ycoord+=e.pageY
}
else if (typeof window.event !="undefined"){
xcoord+=truebody().scrollLeft+event.clientX
ycoord+=truebody().scrollTop+event.clientY
}
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
gettrailobj().display="none"
else
gettrailobj().display=""
gettrailobj().left=xcoord+"px"
gettrailobj().top=ycoord+"px"
}

document.onmousemove=followmouse

if (displayduration>0)
setTimeout("hidetrail()", displayduration*1000)

</script>

_________________
Image


Top
 Profile E-mail  
 
 Post subject: Re: Mouse Image BBCode - help
PostPosted: Sat Oct 31, 2009 7:30 pm 
Offline

Joined: Wed Sep 23, 2009 5:13 pm
Posts: 31
hosted on:: FreeForums.org
Thank you very very very much !!! You are KING !!! :BG:


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Free forum hosting by ProphpBB. Powered by phpBB.
ForumNut