Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 RTE - ShowModalDialog function()?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Morpheus73
Average Member

Denmark
597 Posts

Posted - 07 April 2002 :  05:59:46  Show Profile
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  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 07 April 2002 :  06:19:37  Show Profile
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?



Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 April 2002 :  06:20:52  Show Profile  Visit HuwR's Homepage
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.

Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 07 April 2002 :  06:36:40  Show Profile
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

Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 07 April 2002 :  06:43:41  Show Profile
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?


Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 07 April 2002 :  06:57:04  Show Profile
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!

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 07 April 2002 :  18:37:08  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07