JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 15th, 2003, 10:19 AM
bmouw24 bmouw24 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Grand Rapids MI
Posts: 1 bmouw24 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question wysiwyg editor how do I load values into iframe

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 10:26 AM.

Reply With Quote
  #2  
Old April 16th, 2003, 04:54 AM
fakker fakker is offline
The calm b4 the storm
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Manchester, UK
Posts: 404 fakker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Send a message via Yahoo to fakker
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!
__________________
Matt 'Fakker' Facer

mattfacer.com

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > wysiwyg editor


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap