Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Speegs #1
Dynamic Images Show/Hide
I have a product page which shows pictures from a access db on a page. Some
items dont have pictures. What would be an effective way to show a default
nopicture.gif image in the event the database does not contain an image. Using
ASP Need help desperatly with this and will pay for a solution.
Speegs Guest
-
Show and Hide Layers
I am using the show and hide layers JS from Dreamweaver. I am using it to have simulated "tabs" on the HTML page, so I have a div set up for Tab1,... -
popup menus won't hide - PVII show/hide layers behaviour
I've used the 'Auto show/hide by PVII" behaviour to create some popup menus for the navigation which make use of divs which appear and disappear.... -
show hide netscape
view the followinng page and both Netscape 7.2 and IE 6.0: http://128.164.137.82/sci/Untitled-2.htm When you click the check boxes for the... -
show/hide layers
I've got two layers. The first layer is always visible. The second layer is only visible when you click on the first layer. How do I hide the... -
HIde/Show Templatecolumn
Hi Guys, I have a templatecolumn that only has a edititemplate with a textbox, when not editing it must not be visible. Right now I set the... -
Felix1 #2
Re: Dynamic Images Show/Hide
<img src='<% If (recName.Fields.Item('colName').Value <> '') Then Response.Write(recName.Fields.Item('colName').Valu e) Else Response.Write('nopicture.gif')%>'>
Felix
Felix1 Guest
-
Speegs #3
Re: Dynamic Images Show/Hide
Thanks Fexlix1 you are the best. I noticed it gives it a blue outline around the nopicture.gif, is there a way to get rid of taht?
Speegs Guest
-
Nathon Jones #4
Re: Dynamic Images Show/Hide
Hi Speegs,
How about this:
<%IF (rsRecordset.Fields.Item("imagefieldname").Value) <> "" Then%>
<img src="<%=(rsRecordset.Fields.Item("imagefieldname") .Value)%>">
<%End IF%>
This basically hides the image, if there is no image reference in the image
field. This saves you having to display a blank gif.
HTH
Nath.
"Speegs" <webforumsuser@macromedia.com> wrote in message
news:d0iph0$sop$1@forums.macromedia.com...>I have a product page which shows pictures from a access db on a page. Some
> items dont have pictures. What would be an effective way to show a default
> nopicture.gif image in the event the database does not contain an image.
> Using
> ASP Need help desperatly with this and will pay for a solution.
>
Nathon Jones Guest
-
Speegs #5
Re: Dynamic Images Show/Hide
Great what if I want to display each as lets say a 100 x 100 thumbnail?
Steve
Speegs Guest
-
Speegs #6
Re: Dynamic Images Show/Hide
Thanks Nathan and Felix you both were right and most appreciative
Speegs
Speegs Guest
-
Nathon Jones #7
Re: Dynamic Images Show/Hide
Hi,
<%IF (rsRecordset.Fields.Item("imagefieldname").Value) <> "" Then%>
<img src="<%=(rsRecordset.Fields.Item("imagefieldname") .Value)%>"
width="100" height="100">
<%End IF%>
No problem.
Nath.
"Speegs" <webforumsuser@macromedia.com> wrote in message
news:d0k71e$eq$1@forums.macromedia.com...> Great what if I want to display each as lets say a 100 x 100 thumbnail?
>
> Steve
Nathon Jones Guest



Reply With Quote

