Post Reply 
Drag-and-Drop Resizable Flash...
Nov. 27, 2008, 11:42 PM
Post: #15
RE: Drag-and-Drop Resizable Flash...
For now, let's forget about the div.
Instead, try using the 2nd span instead of the div, like so:
Code:
Replace = "<span class=\1flash$GET(flash)\1 style=\1display:inline\1>"
          "<a title=\1Play Media\1 onclick=\1proxo.PrxObjToggle(this)\2;return false\2;\1 onmouseover=\1proxo.PrxTitleObj(this)\1>"
          "<img alt=\1Toggle Media\1 src=\1http://local.ptron/Grypen_HTML/imgs/player_play.png\1 style=\1border-style:none\1 /><\2/a>"
          "<br />"
          "<\2/span>"
          "<span class=\1resizeMe\1 id=\1ResizeDiv\1 style=\1display:none\1>"
          "<textarea style=\1display:none\1>\0<\2/textarea>"
          "<\2/span>"

Note: don't copy/paste the above code, my js calls are different.

Let's see if that will resize.

I thought I had a simple solution to the H&W of the object.
I forgot about embed elements. This may complicate things a bit.
To be sure, I need to do some testing.

Just to make sure, this is the site your testing on?
http://www.flashcomguru.com/apps/fullscr...creen.html

Graycode Wrote:The OBJECT tag is only for IE and its ActiveX, while EMBED is for everything else.

Yet in my testing, I've seen the opposite work.
Sometimes, I think it depends on if it's cloudy outside.

At any rate, it's better to be ready for both.

lnminente Wrote:to increment id="ResizeDiv" you will need the list Count:

Since it just needs to be unique, you could use something like this:
Code:
Matching Expression:
&$SET(resizeId=$GET(resizeId)1)
Replace:
id=\1$GET(resizeID)\1

Personally, I think it would be better to modify the js.
I don't allow this:
Code:
document.onmousedown = doDown;
document.onmouseup   = doUp;
document.onmousemove = doMove;

In the end, I would rather not have to depend on the id.

z12
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Drag-and-Drop Resizable Flash... - ProxRocks - Nov. 27, 2008, 05:26 PM
RE: Drag-and-Drop Resizable Flash... - Oddysey - Nov. 27, 2008, 06:10 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 27, 2008, 07:57 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 27, 2008, 09:31 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 27, 2008 11:42 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 28, 2008, 01:10 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 28, 2008, 01:20 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 28, 2008, 03:24 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 29, 2008, 05:49 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 29, 2008, 01:23 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 29, 2008, 02:23 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 30, 2008, 12:29 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 30, 2008, 04:20 PM
RE: Drag-and-Drop Resizable Flash... - Oddysey - Nov. 30, 2008, 08:10 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 30, 2008, 10:25 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 02, 2008, 12:24 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 02, 2008, 09:23 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 03, 2008, 12:20 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 07, 2008, 03:32 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 09, 2008, 03:28 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 09, 2008, 05:00 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 12:00 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 01:48 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 03:50 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 06:06 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 12:38 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 01:28 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 01:51 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 07:20 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 16, 2008, 01:17 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 16, 2008, 12:21 PM
RE: Drag-and-Drop Resizable Flash... - 43unite - Dec. 16, 2008, 06:12 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 16, 2008, 10:15 PM
RE: Drag-and-Drop Resizable Flash... - bugger - Dec. 18, 2008, 05:24 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 20, 2008, 01:40 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 21, 2008, 02:15 AM
RE: Drag-and-Drop Resizable Flash... - bugger - Dec. 21, 2008, 10:03 PM
RE: Drag-and-Drop Resizable Flash... - bugger - Jan. 14, 2009, 10:16 PM
RE: Drag-and-Drop Resizable Flash... - Mele20 - Jan. 15, 2009, 08:32 AM
RE: Drag-and-Drop Resizable Flash... - bugger - Oct. 28, 2009, 09:01 AM

Forum Jump: