[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
www.dhtmlgoodies.com • View topic - the burning question on draggable boxes...
Advertisement

the burning question on draggable boxes...

Moderators: Calcifer, slothy

the burning question on draggable boxes...

Postby adguy » Sun May 06, 2007 3:09 pm

adguy
 
Posts: 4
Joined: Sat Apr 28, 2007 10:03 pm

Postby adguy » Sun May 13, 2007 1:23 pm

adguy
 
Posts: 4
Joined: Sat Apr 28, 2007 10:03 pm

Re: the burning question on draggable boxes...

Postby wizard » Tue May 15, 2007 6:34 am

wizard
 
Posts: 8
Joined: Tue May 15, 2007 6:30 am

Postby san » Wed May 16, 2007 7:19 am

It is possible...

I made a topic for the same before 2 months,

Download any tooltip script.... I am using script from dynamicdrive

and Change the for loop inside the function showRSSData()

Existing loop :

for(var no=1;no<tokens.length;no++){ // Looping through RSS items
var itemTokens = tokens[no].split(/##/g);
string = string + '<tr><td><img src="' + src_smallRightArrow + '"><td><p class=\"boxItemHeader\"><a class=\"boxItemHeader\" href="' + itemTokens[3] + '" onclick="var w = window.open(this.href);return false">' + itemTokens[0] + '<\/a><\/p><\/td><\/tr>';
}

New Loop :

for(var no=1;no<tokens.length;no++){ // Looping through RSS items
var itemTokens = tokens[no].split(/##/g);
str = escape(itemTokens[2]);
string = string + '<tr><td><img src="' + src_smallRightArrow + '"><td><p class=\"boxItemHeader\"><a class=\"boxItemHeader\" href="' + itemTokens[3] + '" onclick="var w = window.open(this.href);return false" onmouseover="javascript:ddrivetip(\''+ str +'\' , \'300\')" onmouseout="javascript:hideddrivetip()">' + itemTokens[0] + '<\/a><\/p><\/td><\/tr>';
}


itemTokens[2] is description field.

Regards,
san
san
 
Posts: 9
Joined: Thu Mar 29, 2007 1:13 pm
Location: India

Postby wizard » Wed May 16, 2007 2:27 pm

Hi San,

Following your instructions I get a little yellow-ish box with the content of the tooltip looking like:

Today%20is%20Tuesday%20March%2016%202007%20..etc etc..all on one long line, longer than the size of the tooltip box.

I'm kinda confused and I don't understand how this is occurring. Is the code in the .html file at fault or is it the onmouseover code?

I'm not a coder, so a little more explanation would be greatly appreciated.

Cheers,
Andrew.
wizard
 
Posts: 8
Joined: Tue May 15, 2007 6:30 am

Postby wizard » Thu May 17, 2007 6:12 am

Hi,

Upto now I have only been trying this in firefox. When i try it in IE i get a bigger tooltip with all the content within the tooltip (as it should be) but the content is just the rss feeds and links interspered with %20's all over, and not the actual content of the site being linked to.

Can anyone shed some light on this for me please?

Cheers,
Andrew.
wizard
 
Posts: 8
Joined: Tue May 15, 2007 6:30 am

Postby san » Sat May 19, 2007 9:58 am

Hi andrew....


Sorry for the late reply..,

Dont fear with %20, it is nothing but ascii for spaces ....

why u got this is we are escape() the string while passing....

Inside the ddrivetip() function u have to unescape() the sting...


function ddrivetip(thetext, thewidth, thecolor){
thetext = unescape(thetext);
....
...
}


If u dont want to see the full description in the tooltip,

U can pass the string upto u want ,

Suppose u want to see 300 charactors in the description,

Change the showRSSData() function.


for(var no=1;no<tokens.length;no++){ // Looping through RSS items
var itemTokens = tokens[no].split(/##/g);

//i have added these two lines now
var str = itemTokens[2].substr(0,300);
str = str + ' ... ';
str = escape(str);

string = string + '<tr><td><img src="' + src_smallRightArrow + '"><td><p class=\"boxItemHeader\"><a class=\"boxItemHeader\" href="' + itemTokens[3] + '" onclick="var w = window.open(this.href);return false" onmouseover="javascript:ddrivetip(\''+ str +'\' , \'300\')" onmouseout="javascript:hideddrivetip()">' + itemTokens[0] + '<\/a><\/p><\/td><\/tr>';
}



Regards,
San
san
 
Posts: 9
Joined: Thu Mar 29, 2007 1:13 pm
Location: India

Postby wizard » Sun May 20, 2007 12:25 pm

wizard
 
Posts: 8
Joined: Tue May 15, 2007 6:30 am

Postby wizard » Mon May 21, 2007 1:16 pm

wizard
 
Posts: 8
Joined: Tue May 15, 2007 6:30 am

Postby san » Tue May 22, 2007 8:36 am

san
 
Posts: 9
Joined: Thu Mar 29, 2007 1:13 pm
Location: India

Postby san » Tue May 22, 2007 8:41 am

san
 
Posts: 9
Joined: Thu Mar 29, 2007 1:13 pm
Location: India

Postby wizard » Tue May 22, 2007 11:40 am

wizard
 
Posts: 8
Joined: Tue May 15, 2007 6:30 am

Postby san » Thu May 24, 2007 8:52 am

good day andrew...

may be its because of its parent objects

if not leave it tell ur project manager that u have found a new technique

jus kidding man i tried lot cant find the cause.......


This thread is going well..

I want to add my doubt in this with your permission andrew
(i didnt find a reply in my post)

i have added googles' gadgets inside the static boxes

but when i reload the page facing these issues

sometimes working well

sometimes some boxes getting its values others simply remains with the text(Loading RSS data)

sometimes i am getting the position of the boxes... sometime not

whats the route cause for this problem

anybody 2 help me:(:(
san
 
Posts: 9
Joined: Thu Mar 29, 2007 1:13 pm
Location: India

Postby SoftSell » Tue Jun 05, 2007 5:13 pm

I've been trying for days and I just cannot get this to work properly.

I can't seem to "unescape" the text for the tool tip.
The tooltips show up in IE but they are colored incorrectly (so bad I can't even read them).
In Firefox a yellow tip shows up, but again it's unescaped text that overflows the tip-box (The tip box is not being colored or sized correctly either).

This is the link:



This is #1 on my wishlist for this script.
Is there any chance that a mouseover tooltip will be added to this script?

I'm willing to pay a fee for a programmer to implement this feature (preferably using box-over) on my site.
SoftSell
 
Posts: 5
Joined: Sat Oct 28, 2006 11:25 pm

tooltip

Postby san » Thu Jun 07, 2007 8:44 am

san
 
Posts: 9
Joined: Thu Mar 29, 2007 1:13 pm
Location: India

Next

Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 13 guests

cron