Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
xparrot_dude #1
Image Page Coordinates PHP (k)
I am very new to PHP. I am working on a site that I have multiple products
displayed using a mySQL database. They are working great with the exception of
the "click for an
enlargement" feature.
Right now the enlargements are housed in dynamically generated Layers. The
show/hide works fine. It is the position of the layers that I am having
trouble with.
Right now I am using a this:
<style type="text/css">
<!--
#<?php echo
$row_rsStickerLayers['Sticker_Image']; ?> {
position:absolute;
left:200px;
top:<?php echo $row_rsStickerLayers['ID_Stickers']*160; ?>px;
width:<?php echo $row_rsStickerLayers['Sticker_ImageLargeWidth']; ?>px;
height:<?php echo $row_rsStickerLayers['Sticker_ImageLargeHeight']; ?>px;
z-index:2;
visibility: hidden;
}
-->
</style>
I am just multiplying the ID of the piece by 150 to get it lower on the
page. This works sort of but as I add more products this will no longer be
effective.
Is there some way of knowing the dynamically generated thumbnail's position
on a page and using it's position to position the layers?
[url]http://www.kirkcules.com/stickers.php[/url]
-Kirk
xparrot_dude Guest
-
Convert user space coordinates to device coordinates
Hi, I need to convert the coordinates of a word (PDWord object) to device coordinates (the actual coordinates on the screen). Could someone please... -
XML and image placement by X Y coordinates
I'm trying to test something out in flash with XML and was wondering if anyoone could point me in the rght direction of a tutorial. I'm working... -
the rec() coordinates of an area within an image
Hello There!! I need a bit of help (actually a lot (heh)) in figuring out how to get rect(0,0,0,0) coordinates of various rectangular areas... -
Uploading an Image from a web page
I am using the control type = file to perform a file upload. When I click on the browse button to go select the image I want to upload it places... -
Pass Variables to page that is Page ContentType="image/Jpeg"
I'm wondering if I can pass variables to "TestForm.aspx" with the way I'm using it. It's acting as a jpeg image and looks like: <%@ Page...



Reply With Quote

