Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old February 7th, 2006, 02:57 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I have sent an e-mail to Todd and asked him for help, so hopefully he'll respond.

I think you need to add new content to the database that is to be displayed in the frames, depending on the Query String that you pass to the page.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Stay by Tricky (Track 1 from the album: Vulnerable) What's This?
Reply With Quote
  #22 (permalink)  
Old February 7th, 2006, 03:32 PM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar
thanks for that, i have been working on the database all day, i finally was able to get frame2a to show it working on its self, unfortunatly as i'd saved it as .....# when i went to rename it i lost the working file I lost the workings so i'm busy trying to recreate it again you are right it is the data base and a lot of working out as the 36 pieces of data it becomes to a lot more. lets hope you get a reply

mike

Reply With Quote
  #23 (permalink)  
Old February 7th, 2006, 06:04 PM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar
It is as i thought the database is 5x the size it was and now all the links in frames1a thru frame2d all work
independently I would still like to hear what the author comes up with as I might still have it wrong.

Mike

Reply With Quote
  #24 (permalink)  
Old February 7th, 2006, 06:11 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I mailed Todd a link to this thread, so hopefully he responds....

Glad you're making progress....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: This Is Not A Love Song by Public Image Ltd. (Track 2 from the album: This Is What You Want... This Is What You Get) What's This?
Reply With Quote
  #25 (permalink)  
Old February 7th, 2006, 06:18 PM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Again Thanks for that i will keep checking,...... blockContent.asp?sectionID=19&list=true&width=166 ........blockContent.asp?sectionID=49&list=true&wi dth=166......
 this is just two to show you the change from last night

Mike

Reply With Quote
  #26 (permalink)  
Old February 7th, 2006, 06:26 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

That indeed looks a lot better than:

blockContent.asp?sectionID=1&list=true&width=166
blockContent.asp?sectionID=1&list=true&width=166
blockContent.asp?sectionID=1&list=true&width=166

;)

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Nicotine & gravy by Beck (From the album: Midnite vultures) What's This?
Reply With Quote
  #27 (permalink)  
Old February 9th, 2006, 01:32 PM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar
Just a quick one tonight....I have tried to put pages into these links with file type of .htm, but for some reason this is not working all i'm getting is the little red cross in the upper left corner, but if i use .jpg i can see these types, can you help or explain why these pages are not being seen...
I guess the author is not interested in my other queries ....

Best regards

Mike

Reply With Quote
  #28 (permalink)  
Old February 9th, 2006, 04:54 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Not sure if interest is the leading issue here. Time is an important factor as well... ;)

Anyway, you can't just link to HTML files and expect them to be embedded. In ASP, you can use ASP includes to include HTMl content. However, for that to work you need to parse the page (e.g. request it as http://SomeServer/SomePage.asp) But since you're outputting database records *in* a parsed page, that is not an option for you. The database records need to contain all the HTML you want to display.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Before you let me go (bonus live) by Ilse De Lange (Track 15 from the album: Here I Am - 1998-2003) What's This?
Reply With Quote
  #29 (permalink)  
Old February 9th, 2006, 05:47 PM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for that it, works fine with the simple .jpg just thought the .htm were clearer on output....

thanks for all your help

Mike

Reply With Quote
  #30 (permalink)  
Old February 9th, 2006, 05:56 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You're welcome.

When you link to an image, this is what's being sent to the browser:

<img src="SomeImage.jpg" />

The browser then knows it should retrieve and display the image.

However, there's no direct substitute for this for HTML files. Since it's an image, the browser won't understand what it should display.

What you could do is use an iframe (inline frame). These behave like normal frames, and will appear as a window in a window.

So, if you add the following to the content record in the database, the page that displays that content in turn displays a sub window with the page specified by the src attribute:

<iframe src="SomePage.html" style="width: 600px; height: 300px" />

This way, you can "embed" the contents of SomePage.html in your database driven ASP page.

HtH,

Imar

---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Here In My Room by Incubus (Track 13 from the album: A Crow Left Of The Murder...) What's This?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Pop-Up Menu in DW MX 2004 Maverick Dreamweaver (all versions) 5 November 20th, 2004 12:08 PM
Reading XML in DW MX 2004 bommi_k Dreamweaver (all versions) 1 August 19th, 2004 01:07 PM



All times are GMT -4. The time now is 07:11 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.