Navigacija

Vartotojų tinkle

Prisijungusių svečių: 96
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,962
Naujausias narys: Wisedocs

Naujausi straipsniai

Paskutiniai nariai

Nostesi 4 savaitės
Wisedocs 4 savaitės
asdasdddz 8 savaitės
Paslapties K... 9 savaitės
Audrius_1712 savaitės
Reikalas16 savaitės
Simbijanas24 savaitės
Karinacraft24 savaitės
Žmogus28 savaitės
Bruksnys32 savaitės
Darexs34 savaitės
Nepas35 savaitės
keistuole37 savaitės
Gizmis39 savaitės
Rytis48 savaitės
MaFetas52 savaitės
ozzWANTED54 savaitės
saulyzas56 savaitės
TOMIJUS57 savaitės
Jaunelis72 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.182
Naujienų: 529
Straipsnių: 235
Temų: 52,589
Postų: 522,549
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
PHP: Slider Kodas php panelėje
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Kiti PHP, HTML, MySQL klausimai

Autorius: boom Peržiūrų: 2702      Spausdinti temą
2011 Geg. 4 16:05:39          1 žinutė iš 8
Spausdinti pranešimą
Sveiki niekaip nesigauna pritaikyti html kodo php panelėj gal yra labiau patyrusiu:

http://77.241.194.44/slider/Exam...


<!DOCTYPE <span style="border-bottom: 1px dotted black;">html</span> PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>s3Slider <span style="border-bottom: 1px dotted black;">jQuery</span> plugin</title>
<!-- <span style="border-bottom: 1px dotted black;">CSS</span> -->
<style type="text/css" media="screen">
#slider1 {
width: 720px; /* important to be same as image width */
height: 300px; /* important to be same as image height */
position: relative; /* important */
overflow: hidden; /* important */
}
 
#slider1Content {
width: 720px; /* important to be same as image width or wider */
position: absolute;
top: 0;
margin-left: 0;
}
.slider1Image {
float: left;
position: relative;
display: none;
}
.slider1Image span {
position: absolute;
font: 10px/15px Arial, Helvetica, sans-serif;
padding: 10px 13px;
width: 694px;
background-color: #000;
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
color: #fff;
display: none;
}
.clear {
clear: both;
}
.slider1Image span strong {
font-size: 14px;
}
.left {
top: 0;
left: 0;
width: 110px !important;
height: 280px;
}
.right {
right: 0;
bottom: 0;
width: 90px !important;
height: 290px;
}
ul { list-style-type: none;}
</style>
<!-- JavaScripts-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="s3Slider.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#slider1').s3Slider({
timeOut: 4000
});
});
</script>
</head>
 
<body>
 
<div id="slider1">
<ul id="slider1Content">
<li class="slider1Image">
<a href=""><img src="example_images/wide/1.jpg" alt="1" /></a>
<span class="left"><strong>Title text 1</strong><br />Content text...</span></li>
<li class="slider1Image">
<a href=""><img src="example_images/wide/2.jpg" alt="2" /></a>
<span class="left"><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...</span></li>
<li class="slider1Image">
<img src="example_images/wide/3.jpg" alt="3" />
<span class="left"><strong>Title text 2</strong><br />Content text...</span></li>
<li class="slider1Image">
<img src="example_images/wide/4.jpg" alt="4" />
<span class="left"><strong>Title text 2</strong><br />Content text...</span></li>
<li class="slider1Image">
<img src="example_images/wide/5.jpg" alt="5" />
<span class="left"><strong>Title text 2</strong><br />Content text...</span></li>
<div class="clear slider1Image"></div>
</ul>
</div>
<!-- // slider -->
 
</body>
</html>


Nuotrauka
Redagavo Creatium 2011 Geg. 4 19:05:17

7 atsakymai:
2011 Geg. 4 16:05:15          2 žinutė iš 8
Spausdinti pranešimą
Kas būtent nepavyksta? (ilgis)
0

2011 Geg. 4 19:05:32          3 žinutė iš 8
Spausdinti pranešimą

<?php
 
echo"<div id='slider1'>
 
<ul id='slider1Content'>
<li class='slider1Image'>
<a href=''><img src='example_images/wide/1.jpg' alt='1' /></a>
<span class='left'><strong>Title text 1</strong><br />Content text...</span></li>
 
<li class='slider1Image'>
<a href=''><img src='example_images/wide/2.jpg' alt='2' /></a>
<span class='left'><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...</span></li>
 
<li class='slider1Image'>
<img src='example_images/wide/3.jpg' alt='3' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>
 
<li class='slider1Image'>
<img src='example_images/wide/4.jpg' alt='4' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>
 
<li class='slider1Image'>
<img src='example_images/wide/5.jpg' alt='5' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>
 
<div class='clear slider1Image'></div>
</ul>
</div>"
;
?>


Pagal idėja turėtu veiki, bet pačioj pirmoj eilutėj error:

Parse error: syntax error, unexpected '<' in /home/tadisxxx/domains/hostas.wu.lt/public_html/administration/panel_editor.php(128) : eval()'d code on line 1

ir dar ar reikia visa css į panelę surašyt?
0


Nuotrauka
Redagavo Creatium 2011 Geg. 4 19:05:36
2011 Geg. 4 19:05:06          4 žinutė iš 8
Spausdinti pranešimą
Rašyk taip:


 
 
echo"<div id='slider1'>
 
<ul id='slider1Content'>
 
<li class='slider1Image'>
 
<a href=''><img src='example_images/wide/1.jpg' alt='1' /></a>
 
<span class='left'><strong>Title text 1</strong><br />Content text...</span></li>
 
<li class='slider1Image'>
 
<a href=''><img src='example_images/wide/2.jpg' alt='2' /></a>
 
<span class='left'><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...</span></li>
 
<li class='slider1Image'>
 
<img src='example_images/wide/3.jpg' alt='3' />
 
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>
 
<li class='slider1Image'>
 
<img src='example_images/wide/4.jpg' alt='4' />
 
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>
 
<li class='slider1Image'>
 
<img src='example_images/wide/5.jpg' alt='5' />
 
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>
 
<div class='clear slider1Image'></div>
 
</ul>
 
</div>"
;
 


Dėl css, tai jį gali sudėt į style.css failą savo temos folderyje.
0


www.creatium.lt
Redagavo Creatium 2011 Geg. 4 19:05:47
2011 Geg. 4 19:05:46          5 žinutė iš 8
Spausdinti pranešimą
dek ta visa koda tarp
?>

<?
ir nebus problemu ir nereikes rasinet css ir tt ;D tik uzdek tiesiogine nuorodas iki js
0


2011 Geg. 4 23:05:21          6 žinutė iš 8
Spausdinti pranešimą
Na va kaip ir veikia tik dabar css nereguoja iš style.css

echo"
<script type='text/javascript' src='http://********/s3Slider.js'></script>
<script type='text/javascript'>
$(document).ready(function() {
$('#slider1').s3Slider({
timeOut: 4000
});
});
</script>

<div id='slider1Image'>
<ul id='slider1Content'>

<li class='slider1'>
<a href=''><img src='http://********/example_images/wide/1.jpg' alt='1' /></a>
<span class='left'><strong>Title text 1</strong><br />Content text...</span></li>



<li class='slider1Image'>
<a href=''><img src='http://********/example_images/wide/2.jpg' alt='2' /></a>
<span class='left'><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...</span></li>



<li class='slider1Image'>
<img src='http://********/example_images/wide/3.jpg' alt='3' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>



<li class='slider1Image'>
<img src='http://********/example_images/wide/4.jpg' alt='4' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>



<li class='slider1Image'>
<img src='http://********/example_images/wide/5.jpg' alt='5' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>



<div class='clear slider1Image'></div>
</ul>
</div>";
Kam įdomu štai veikia:

echo"

<style type='text/css' media='screen'>
#slider1 {
width: 720px; /* important to be same as image width */
height: 300px; /* important to be same as image height */
position: relative; /* important */
overflow: hidden; /* important */
}

#slider1Content {
width: 720px; /* important to be same as image width or wider */
position: absolute;
top: 0;
margin-left: 0;
}
.slider1Image {
float: left;
position: relative;
display: none;
}
.slider1Image span {
position: absolute;
font: 10px/15px Arial, Helvetica, sans-serif;
padding: 10px 13px;
width: 694px;
background-color: #000;
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
color: #fff;
display: none;
}
.clear {
clear: both;
}
.slider1Image span strong {
font-size: 14px;
}
.left {
top: 0;
left: 0;
width: 110px !important;
height: 280px;
}
.right {
right: 0;
bottom: 0;
width: 90px !important;
height: 290px;
}
ul { list-style-type: none;}
</style>

<script type='text/javascript' src='http://*******/s3Slider.js'></script>
<script type='text/javascript'>
$(document).ready(function() {
$('#slider1').s3Slider({
timeOut: 4000
});
});
</script>



<div id='slider1'>
<ul id='slider1Content'>



<li class='slider1Image'>
<a href=''><img src='http://*******/example_images/wide/1.jpg' alt='1' /></a>
<span class='left'><strong>Title text 1</strong><br />Content text...</span></li>



<li class='slider1Image'>
<a href=''><img src='http://*******/example_images/wide/2.jpg' alt='2' /></a>
<span class='left'><strong>Title text 2</strong><br />Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...Content text...</span></li>



<li class='slider1Image'>
<img src='http://*******/example_images/wide/3.jpg' alt='3' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>



<li class='slider1Image'>
<img src='http://*******/example_images/wide/4.jpg' alt='4' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>



<li class='slider1Image'>
<img src='http://*******/example_images/wide/5.jpg' alt='5' />
<span class='left'><strong>Title text 2</strong><br />Content text...</span></li>



<div class='clear slider1Image'></div>
</ul>
</div>";
0


Nuotrauka
Redagavo boom 2011 Geg. 5 00:05:51
2011 Geg. 5 05:05:31          7 žinutė iš 8
Spausdinti pranešimą
O sita nebandei prirasyt?

<style type="text/css" media="screen">

Arba kazka pan...merkia akį
0


https://valgo.me
2011 Geg. 5 08:05:49          8 žinutė iš 8
Spausdinti pranešimą
Kaip tik šito ir trūko bet vis tiek viską i panelė surašiau man asmeniškai patogiaušypsosi
0


Nuotrauka
Peršokti į forumą: