Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Głębokosc diva
ActivePlayer
post 19.01.2005, 00:28:33
Post #1





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


  1. <a href="click.php?id=costam" target="_blank"><div width=468 height=60 STYLE="position: absolute; width: 468px; height:60px; ">&nbsp;</div></a>

a dalej
  1. <embed src="costam.swf" width=\"468\" height=\"60\">


chodzi o to aby div był nad embedem (aby zamaskowac wszystkie linki z bannera)
Go to the top of the page
+Quote Post
dr_bonzo
post 19.01.2005, 00:31:29
Post #2





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


z-index


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
ActivePlayer
post 19.01.2005, 00:34:05
Post #3





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


"Podaj wartosc liczbową" :| misiu, jakbys przerobil ten kod który zapodalem to bylbym bardzo :*... css to nie moja najleprza strona :|
Go to the top of the page
+Quote Post
dr_bonzo
post 19.01.2005, 00:41:28
Post #4





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


ok, tylko nie caluj wiecej tongue.gif
podalem ci kierunek góglowania
  1. <a href="click.php?id=costam" target="_blank"><div width=468 height=60 STYLE="position: absolute; width: 468px; height:60px; z-index: 3">&nbsp;</div></a>
  2.  
  3. a dalej
  4.  
  5. HTML
  6. <embed src="costam.swf" width=\"468\" height=\"60\" style="z-index: 1">

Im mniejszy z-index tym nizej na stercie leza warstwy.


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
ActivePlayer
post 19.01.2005, 00:46:29
Post #5





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


Nie funga, jakis inny pomysl zeby ukryc linka z flasha ?
Go to the top of the page
+Quote Post
dr_bonzo
post 19.01.2005, 00:51:29
Post #6





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Wrzuc flasha do div'a i uzyj zindexa?


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
ActivePlayer
post 19.01.2005, 00:54:38
Post #7





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


Nie trybi ... :|:|
___
edit:
mam cos takiego:

  1. <?php
  2.  
  3. $roz = substr($row['url'], -3, 3);
  4. $ret = '<a href=\"click.php?id='.$row['id'].'\" target=\"_blank\"><div width=468 height=60 STYLE=\"position: absolute; width: 468px; background: #000000; height:60px; z-index: 3;\">&nbsp;</div></a>';
  5. if($roz=='swf')
  6. {
  7. $ret .= &#092;"<div width=468 height=60 STYLE=\"position: absolute; width: 468px; height:60px; z-index:1;\"><embed src=\"\".$row['url'].\"\" width=\"468\" height=\"60\" ></div>\";
  8. }
  9.  
  10. ?>


Ten post edytował ActivePlayer 19.01.2005, 00:56:13
Go to the top of the page
+Quote Post
dr_bonzo
post 19.01.2005, 01:11:28
Post #8





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Zrobilem cos takiego:
  1. </head>
  2. <a href="click.php?id=costam" target="_blank">
  3. <div width="468" height="60" style="position: absolute; width: 500px; height: 500px; top: 30; left: 30; z-index: 10; background-color: red;">DIV</div>
  4. </a>
  5.  
  6. <div width="468" height="60" style="position: absolute; width: 300px; height: 300px; background-color: green; z-index: 2">
  7. <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" WIDTH="468" HEIGHT="60">
  8. <PARAM NAME=movie VALUE="judas.swf">
  9. <PARAM NAME=quality VALUE=high>
  10. <PARAM NAME=wmode VALUE=opaque>
  11. <EMBED src="judas.swf" menu="false" quality="high" wmode="opaque" WIDTH=468 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
  12. </EMBED>
  13. </div>
  14. </body>
  15. </html>

I wyszloo: warstwa z flashem jest pod spodem a flash na wierrzchu, wniosek:po prostu nie da sie przykryc flasha.


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
ActivePlayer
post 19.01.2005, 03:07:15
Post #9





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


zyjemy w takich czasach i nie da sie przykryc flasha ?:|
Go to the top of the page
+Quote Post
dr_bonzo
post 19.01.2005, 09:21:51
Post #10





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


  1. <div width="468" height="60" style="position: absolute; width: 300px; height: 300px; background-color: green; z-index: 2; visibility: hidden;">

dodaj 'visibility: hidden;' do warstwy z flashem
-------------------------------
lub dodaj to <object>: style="visibility: hidden;"
  1. <OBJECT style="visibility: hidden;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" WIDTH="468" HEIGHT="60">

--------------------------------

za pomoca JS:
  1. <head>
  2. <script type="text/javascript" />
  3. function hideFlash()
  4. {
  5. $flash_tag = document.getElementsByTagName( 'object' );
  6. $flash_tag = $flash_tag.item( 0 );
  7. $flash_tag.style.visibility = 'hidden';
  8. }
  9. </script>
  10. </head>
  11. <body>
  12. <a href="javascript://" onclick="hideFlash()">Hide flash</a>
  13. <!--
  14. <a href="click.php?id=costam" target="_blank">
  15. <div width="468" height="60" style="position: absolute; width: 500px; height: 500px; top: 30; left: 30; z-index: 10; background-color: red;">
  16. <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
  17. <a href="javascript://" onclick="hideFlash()">Hide flash</a>
  18. </div>
  19. -->
  20. </a>
  21.  
  22. <OBJECT style="visibility: visible;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" WIDTH="468" HEIGHT="60">
  23. <PARAM NAME=movie VALUE="judas.swf">
  24. <PARAM NAME=quality VALUE=high>
  25. <PARAM NAME=wmode VALUE=opaque>
  26. <EMBED src="judas.swf" menu="false" quality="high" wmode="opaque" WIDTH=468 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
  27. </EMBED>
  28. </OBJECT>
  29. </body>
  30. </html>


ale tobie chodzi
Cytat
chodzi o to aby div był nad embedem (aby zamaskowac wszystkie linki z bannera)
zeby flash byl widoczny tylko zeby nie mozna bylo kliknac na jego linki?

Ten post edytował dr_bonzo 19.01.2005, 09:32:26


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
ActivePlayer
post 19.01.2005, 12:55:28
Post #11





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


Cytat
zeby flash byl widoczny tylko zeby nie mozna bylo kliknac na jego linki?
tak dokladnie o to chodzi
Go to the top of the page
+Quote Post
Kuziu
post 19.01.2005, 18:12:48
Post #12





Grupa: Zarejestrowani
Postów: 743
Pomógł: 0
Dołączył: 11.11.2003
Skąd: Toruń

Ostrzeżenie: (0%)
-----


Flash'a da się przykryć DIV'em tylko pod IE.


--------------------
Słońce zachodzi ... kolejna noc nadchodzi ...
Go to the top of the page
+Quote Post
ActivePlayer
post 19.01.2005, 23:06:24
Post #13





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


aha, dobrze wiedziec, tylko dlaczego nam nie wychodziło ?
Go to the top of the page
+Quote Post
dr_bonzo
post 20.01.2005, 01:14:49
Post #14





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Cytat(Kuziu @ 2005-01-19 18:12:48)
Flash'a da się przykryć DIV'em tylko pod IE.

Zarzuc kodem...


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
ActivePlayer
post 20.01.2005, 23:16:51
Post #15





Grupa: Przyjaciele php.pl
Postów: 1 224
Pomógł: 40
Dołączył: 6.07.2004
Skąd: Wuppertal

Ostrzeżenie: (0%)
-----


Hmm... cos nie bardzo mu idzie ;|
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 15.07.2025 - 07:27