Php çekilen veriyi mousover ile resme atama sorunu
| Yazan |
Mesaj |
16:53:42 |
29 Aralık 2010 Çarşamba
|
echo
(Üye)
Kayıt : 29 Arlk 10
Topl. mesaj: 2
|
Mesaj: Php çekilen veriyi mousover ile resme atama sorunu
Merhaba Arkadaşlar php bir site yapıyorum ve sorunu bir türlü çözömedim
Bu resme gidecek olan link : ilan_detaylari.php?ID=<?=($rsDisplay['ID'])?>
Buda Resme Gidecek Olan Resim Kodu : images/estate/<?=($rsDisplay['estate_images'])?>_small.jpg
Buda Çekilen Veri : <?=($rsDisplay['room_type'])?>
Bir div ekledim id sini res1 yaptım
içe bir image ekledim id sini image1 yaptım
yazı normal olrak geliyor fakat yazının üstünü gelince resme link ve açılacak resim gitmiyor
<a class="link1" hfer="ilan_detaylari.php?ID=<?=($rsDisplay['ID'])?>" mouseover="res1.innerHTML='res1';image1.src='images/estate/<?=($rsDisplay['estate_images'])?>_small.jpg'"><?=($rsDisplay['room_type'])?></a>
|
|
|
|
Cevaplar
14:04:15 |
30 Aralık 2010 Perşembe
|
gokh2o
(Site sahibi)
Kayıt : 05 Haz 07
Topl. mesaj: 320
|
Mesaj: Ynt. Php çekilen veriyi mousover ile resme atama sorunu
sorgunuz ne
|
|
|
|
15:12:49 |
30 Aralık 2010 Perşembe
|
echo
(Üye)
Kayıt : 29 Arlk 10
Topl. mesaj: 2
|
Mesaj: Ynt. Php çekilen veriyi mousover ile resme atama sorunu
<?
$x=1;
$t = 1;
$z = 1;
$sql = "select count(*) as count_row from t_advert where Visible='1' and DisplayAdvert='1'";
$record_count = CountRow($sql);
$sql = "select
t1.*, ".GetCurrency($_SESSION['LangCurrency'])."
t2.Name as estate_type,
t3.Name as estate_status,
t4.Name as estate_township,
t6.Currency as estate_rent_currency,
t7.Images as estate_images,
t8.Name as estate_city,
t9.Name as room_type
from t_advert t1
inner join t_properties t2 on t2.PageType='EstateType'
inner join t_properties t3 on t3.PageType='EstateStatus'
inner join t_properties t4 on t4.PageType='TownShip'
inner join t_exchange t6 on t6.Currency=t1.RentCurrency
inner join t_advert_images t7 on t7.ParentID=t1.ID
inner join t_properties t8 on t8.PageType='City'
inner join t_properties t9 on t9.PageType='RoomType'
where
t2.ItemID = t1.EstateType and t2.PageLang='".$_SESSION['Lang']."' and
t3.ItemID = t1.EstateStatus and t3.PageLang='".$_SESSION['Lang']."' and
t4.ID = t1.TownShipID and
t6.Currency = t1.RentCurrency and
t7.ParentID = t1.ID and t7.Seq = (select min(Seq) from t_advert_images where Visible='1' and ParentID=t1.ID group by Seq LIMIT 0,1) and
t8.ID = t1.CityID and
t9.ItemID = t1.RoomType and t9.PageLang='".$_SESSION['Lang']."' and
t1.Visible='1' and t1.SaleAdvert='1' order by ListPrice asc LIMIT 0,5";
$qrDisplay = mysql_query($sql);
while($rsDisplay = mysql_fetch_array($qrDisplay)) {
?>
reklam gibi olmasın http//www.izcileremlak.com.tr/Default.aspx
bu sitedeki son eklenen konut ilanları gibi olsun istiyorum
|
|
|
|
Bu konuya verilmiş toplam 2 cevap bulunmaktadır.
Şu anda: 12 ziyaretçi siteyi geziyor.
Eklentiler (extensions)
Sitemizden indirdiğiniz eklentileri nasıl yükleyeceğinizi ve kullanacağınızı bilmiyorsanız bu makaleden başlayabilirsiniz. Genel olarak Dreamweaver eklentileri üzerine kısa bir yazı buyrun...