|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I just read part 1 and 2 of the wysiwyg editor at
[URL=http://www.devarticles.com/art/1/90/7] [URL=http://www.devarticles.com/art/1/116] I would like to use it in my script. I am loading values from a db and would like to view each record in the database in the style << < > >> where >> is the last record, > is next, etc. Anyways how can I load the html values into the iframe each time I load a new value from the db. The values will be stored as html code in the db. Thanks Benjamin Mouw Last edited by bmouw24 : April 15th, 2003 at 09:26 AM. |
|
#2
|
|||
|
|||
|
hey bmouw24,
firstly, welcome to the devarticles forum!! hopefully we can get you sorted with this query..... you're going to need to use either PHP or ASP or some other language to get the data from the database.... which are you using? I think the best way to do it is to create a page called load.php (or asp etc) then that load page will get the record from the DB. Say for example, the default is the frist record. The HTML code for the navigation arrows would be sommit like: Code:
<a href='page.php?record=2> > </a> <a href='page.php?record=23> >> </a> the iFrame would need to have something like Code:
<iFrame src='load.php?record=<? get record id from URL ?>'> so basically the iFrame will get the record which is set in the URL of the editor page. Making sense? I think I have confused myself..... I wonder if it is possible to page through the DB results by changing the iFrame source without refreshing the main page? I'll look in to it.... let us know what language you're using then we can help some more....... cheers! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > wysiwyg editor |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|