 |
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

February 7th, 2006, 02:57 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|

February 7th, 2006, 03:32 PM
|
Authorized User
|
|
Join Date: Jan 2006
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

February 7th, 2006, 06:04 PM
|
Authorized User
|
|
Join Date: Jan 2006
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

February 7th, 2006, 06:11 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|

February 7th, 2006, 06:18 PM
|
Authorized User
|
|
Join Date: Jan 2006
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

February 7th, 2006, 06:26 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|

February 9th, 2006, 01:32 PM
|
Authorized User
|
|
Join Date: Jan 2006
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

February 9th, 2006, 04:54 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|

February 9th, 2006, 05:47 PM
|
Authorized User
|
|
Join Date: Jan 2006
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for that it, works fine with the simple .jpg just thought the .htm were clearer on output....
thanks for all your help
Mike
|

February 9th, 2006, 05:56 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|
|
 |