Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][CSS][AJAX]NOwe okno z shoutbox
Ziom73
post
Post #1





Grupa: Zarejestrowani
Postów: 140
Pomógł: 1
Dołączył: 8.04.2009
Skąd: Polanica Zdrój | Poznań | Wrocław

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


Chciałbym zrobić, aby po kliknięciu w link "Shoutbox" Wyszło okienko (najlepiej w ajax), które można dowolnie przenieść na po stronie, i żeby była domyślna pozycja po prawej, oraz, żeby można było zamknąć okienko ;-)

Tak to sobie wymarzyłem ;]

Za pomoc w zrobieniu, lub danie gotowca Z góry baaardzo dziękuję!

Ten post edytował Ziom73 6.08.2009, 10:17:22
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Ziom73
post
Post #2





Grupa: Zarejestrowani
Postów: 140
Pomógł: 1
Dołączył: 8.04.2009
Skąd: Polanica Zdrój | Poznań | Wrocław

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


Dobra wybrałem sobie inne działające już okienko ;]
Jeszcze dostosowuję shoutbox ;]

Zrobiłem już, ale gryzie się z moim menu, czyli nie ma przesówających się obiektów pod tekstem ;/
menutop:
  1. <?php
  2. <link rel="stylesheet" href="lavalamp_test.css" type="text/css" media="screen">
  3.    <script type="text/javascript" src="jquery-1.2.3.min.js"></script>
  4.    <script type="text/javascript" src="jquery.easing.min.js"></script>
  5.    <script type="text/javascript" src="jquery.lavalamp.min.js"></script>
  6.    <script type="text/javascript">
  7.        $(function() {
  8.            $("#1, #2, #3").lavaLamp({
  9.                fx: "backout",
  10.                speed: 700,
  11.            });
  12.        });
  13.    </script>
  14.    <!--  Prototype Window Class Part -->
  15.    <script type="text/javascript" src="/includes/shoutbox/js/documentation/javascripts/prototype.js"> </script>
  16.      <script type="text/javascript" src="/includes/shoutbox//js/documentation/javascripts/effects.js"> </script>
  17.      <script type="text/javascript" src="/includes/shoutbox/js/documentation/javascripts/window.js"> </script>
  18.      <script type="text/javascript" src="/includes/shoutbox/js/documentation/javascripts/window_effects.js"> </script>
  19.      <script type="text/javascript" src="/includes/shoutbox/js/documentation/javascripts/debug.js"> </script>
  20.      
  21.    <link href="/includes/shoutbox/js/documentation/themes/default.css" rel="stylesheet" type="text/css" >     </link>
  22.      <link href="/includes/shoutbox/js/documentation/themes/spread.css" rel="stylesheet" type="text/css" >     </link>
  23.      <link href="/includes/shoutbox/js/documentation/themes/alert.css" rel="stylesheet" type="text/css" >     </link>
  24.      <link href="/includes/shoutbox/js/documentation/themes/alert_lite.css" rel="stylesheet" type="text/css" >     </link>
  25.      <link href="/includes/shoutbox/js/documentation/themes/alphacube.css" rel="stylesheet" type="text/css" >     </link>
  26.      <link href="/includes/shoutbox/js/documentation/themes/debug.css" rel="stylesheet" type="text/css" >     </link>
  27.  
  28.    <!--  Doc Part-->
  29.          <script type="text/javascript" src="/includes/shoutbox/js/documentation/js/application2.js"> </script>
  30.    <script type="text/javascript">
  31.        $(function() {
  32.            $("#1, #2, #3").lavaLamp({
  33.                fx: "backout",
  34.                speed: 700,
  35.            });
  36.        });
  37.    </script>
  38.  
  39. <ul class="lavaLampWithImage" id="2">
  40.    <li class="current"><a href="#">FAQ</a></li>
  41.    <li><a href="/regulamin.php">Regulamin</a></li>
  42.    <li><a href="#">        <script>Application.addTitle('Open a window with an URL inside', 'open_window2')</script>
  43.                  <div class="listing" style="display:none" id="open_window2_codediv">
  44.          <xmp id="open_window2">
  45. var win = new Window({className: "spread", title: "Shoutbox",
  46.                      top:120, left:10, width:300, height:243,
  47.                      url: "/includes/shoutbox/minichat.php", showEffectOptions: {duration:1.5}})
  48. win.show();                                            
  49.          </xmp>  
  50. </div></a></li>
  51. </ul>
  52. ?>


menu mam takie: <a href="http://forum.php.pl/index.php?showtopic=11...mp;#entry637504" target="_blank">http://forum.php.pl/index.php?showtopic=11...mp;#entry637504</a>

a okienka mam z <a href="http://prototype-window.xilinus.com/downlo...dows_js_1.3.zip" target="_blank">http://prototype-window.xilinus.com/downlo...dows_js_1.3.zip</a>

Zobaczcie efekt <a href="http://site.thawsite.cba.pl/index2.php" target="_blank">http://site.thawsite.cba.pl/index2.php</a>

Ten post edytował Ziom73 7.08.2009, 12:45:54
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 16.10.2025 - 22:43