Author |
Topic |
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 07 April 2002 : 05:59:46
|
Where is it - it is called several times from inc_rte, but I canīt seem to find it.
Reason - I have created an small imageGallery app with sections - If I point directly to an imagepage itīll insert the image just fine, but if I try to enter another section (reloading the page with another image_ID) it opens the new imagePage up in a new window - can this be altered so that itīll stay in the same popup_window like the OpenWindow function already in inc_top?
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 07 April 2002 : 06:10:18
|
I dont know if you will want to use a modalDialog. Besides the fact that its only supported by IE 5+, its like an alert, you have to make it happy before it will unlock your browser. Perhaps a modless dialog. . . but once again only IE 5+
Nathan Bales Snitz Exchange | Do's and Dont's |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 07 April 2002 : 06:19:37
|
How would you then suggest I do this? - Ive used the the insertsmilie function by including the function in my ImageGallery and then put DO insertsmilie in fornt of my <% ImageUrl %> - is the anyway I can make a popup be browsable untill the desired content is located and then on click inserted into post?
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 07 April 2002 : 06:20:52
|
quote:
Reason - I have created an small imageGallery app with sections - If I point directly to an imagepage itīll insert the image just fine, but if I try to enter another section (reloading the page with another image_ID) it opens the new imagePage up in a new window - can this be altered so that itīll stay in the same popup_window like the OpenWindow function already in inc_top?
This is governed by the name you give to the window when you create it, if the window is created with the same name, as in the case of the openWindow functions in inc_top, then it wi always display in the same popup. If the names are being created as unique names, then it will open a new window each time.
|
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 07 April 2002 : 06:36:40
|
Yes I can get it to open in a popup and stay there if using OpenWindow function, but then when pressing the image I want inserted, it closed the window ok, but it doesnīt insert anything - guess it looses itīs target somewhere along the process - maybe -for RTE v2 - at least a popup-window function should be included to that will allow browsing and then insert into topic? - would be really handy
|
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 07 April 2002 : 06:43:41
|
What if I made a framed pop_up where the topframe stayed static and included the insertSmilie function. If I then use the bottom frame for browsing wouldnīt that work?
|
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 07 April 2002 : 06:57:04
|
quote:
What if I made a framed pop_up where the topframe stayed static and included the insertSmilie function. If I then use the bottom frame for browsing wouldnīt that work?
- works!
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 07 April 2002 : 18:37:08
|
If I ever get around to making an RTE vs 2. . . there will be no popups.
Nathan Bales Snitz Exchange | Do's and Dont's |
|
|
|
Topic |
|