JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Iron Speed
 
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:
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  
Old April 15th, 2003, 09:19 AM
bmouw24 bmouw24 is offline
Junior Member
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 09:26 AM.

Reply With Quote
  #2  
Old April 16th, 2003, 03: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: 6
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


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway