Click to See Complete Forum and Search --> : eliminating options within app?


PSGmarketer
06-28-2006, 04:38 PM
I am rehashing a "stair builder" application made with .asp pages, but I do not know how to erase some of the "baluster" options that are available for users to click on. If anyone has an idea of how to change these options within the .asp environment I would greatly appreciate it! Or even some resources on where to find more help...

Thank you!

Here is the link to the website where you can view this page: Stair builder (http://www.pinnaclestairgroup.com/build/stairs.asp)

russell
06-28-2006, 07:13 PM
ok, the app is cool. what is it specifically u want to do...?

lmf232s
06-29-2006, 08:50 AM
PSGmarketer,
Based on your question i think you want to make some of the Balusters inactive or not display so that the user can not select them.

Since your loading those images for the Balusters through an iFrame i dont think there is much you can do.

But another option instead of using an IFrame (i avoid using IFrames at all costs) is to create an select List (drop down) with the names of all the Balusters and Newel Posts. Since the names would be in a select List (drop down) you could use javascript to hide or show the options that you want to display.

Then to display the images of both the Newel Posts and Balusters you could create a div for both and use javascript to preload the images and then based on the selection the user selects, populate the correct images into the div's.

It would work the same way you currently have it only instead of the Iframe that would be a <Select> and then you load the images into a <Div>.

Thats just an idea

PSGmarketer
07-05-2006, 10:58 AM
I am not that familiar with js code... would this particular piece of code help in finding a fix (aside from changing to a 'div' method w/o the i-frames)?

<a href="javascript:changebalusters('<%=lRs("SetID")%>','<%=lRs("baluster1")%>','<%=lRs("baluster2")%>')" title="<%=tip1%>"><img src="images/<%=lRs("baluster1")%>" border="0" width="21" height="200"></a>

Do you know what the code language is saying? Maybe if I change something within this, I can control which baluster choices are shown/available to the user.

Thanks