Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Help with a popup window displaying info from a record set

New Here ,
Dec 28, 2006 Dec 28, 2006

Copy link to clipboard

Copied

Hi I am working on a Shopping cart web site I have set up my database and I have created my page to display items from the database the fields in my database table are auto_id, category, sub_catagory, manufacture, style, descripition, descripition2, price, image, image2, fc_id, link_id
What I am trying to do is to display this part of the info in one record set manufacture,style,descripition , image and price there will be a link from this page to display a popup and in that pop up I want to display manufacture,style,descripition2,Image2
basicly I want to now how to put a link in database so when all of the data is displayed on the page I want to click on a link from any record that opens a popup to display a larger image and a longer descripition of the product. and anything else I may need from that record

I hope this makes sense
Thanks for any help
Cheers
Dave
TOPICS
Server side applications

Views

482
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 02, 2007 Jan 02, 2007

Copy link to clipboard

Copied

Create the popup in the usual way and then modify the javascript by adding
whatever parameters are needed to call a recordset in the popup which the
correct information, and the particulr field holding the key value.

for example the simple popup creates a line like this

<a href="#"
onclick="MM_openBrWindow('Test.asp','','width=400,height=400')">Link</a>

if auto_id holds the value then the line would be modified to

<a href="#"
onclick="MM_openBrWindow('Test.asp?ID=<%recordset.fields.item("auto_ID").value%>','','width=400,height=400')">Link</a>

Then on the page being called simple create a recordset that will display
the information using a querystring as the filter.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"David Wright 61" <webforumsuser@macromedia.com> wrote in message
news:en0ne7$j9e$1@forums.macromedia.com...
> Hi I am working on a Shopping cart web site I have set up my database and
> I
> have created my page to display items from the database the fields in my
> database table are auto_id, category, sub_catagory, manufacture, style,
> descripition, descripition2, price, image, image2, fc_id, link_id
> What I am trying to do is to display this part of the info in one record
> set
> manufacture,style,descripition , image and price there will be a link from
> this
> page to display a popup and in that pop up I want to display
> manufacture,style,descripition2,Image2
> basicly I want to now how to put a link in database so when all of the
> data is
> displayed on the page I want to click on a link from any record that opens
> a
> popup to display a larger image and a longer descripition of the product.
> and
> anything else I may need from that record
>
> I hope this makes sense
> Thanks for any help
> Cheers
> Dave
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2016 Feb 28, 2016

Copy link to clipboard

Copied

LATEST

Hi David,

I have been battling and Googling with this issue of

combining Asp Recordset Field Data Item Values with Javascript Popup Window

for the last 24 hours and have been greatly relieved to have finally come across

a reasonable solution to the issue you are describing.

I am now very hopeful indeed to see the light at the end of the tunnel...

Pity that one might Google for so long a period of time

while not coming across another battling person

dealing with (well, almost) a very similar coding issue.

Although this article is dated back to

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines