Podr?czny pasek nawigacyjny na samej górze
|
Piter573PB |
Dodany dnia 29.04.2008 19:30:25
|

Przedszkolak

Postów: 53
Data rejestracji: 19.01.2008 11:31
|
CZYTAJ NI?EJ!!
STARE
Chcia?bym doda? na srtonie taki mini pasek jak jest np. na blogach onetu. Mia?o by sie tam znajdowa? pole szukaj przycisk do RSS i moze jeszcze jaki? ma?y gad?ecik.
Dodawa?em do subheader.php i theme.php tabelki, ale po bokach by?o wolne miejsce i nie przylega?o ca?kiem na samej górze. Chc? dok?adnie co? takiego jak na blog.onet.pl jest. Prosi?bym o pomoc.Uda?o mi si? zrobi? co? takiego ale efekt nie dzia?a poprawnie na Ie7 i Opera 9.50.
<div id='info'><div id='infobar' align='left'><table align='center' width='95%'><tr><td align='left'>
<table>
<td>
<a href='".BASEDIR."index.php' style='text-align: right'><img <img src='".THEME."/images/hp.gif' ; '></a> </td>
<td>
<table algin='right'><td><form name='searchform' method='post' action='".BASEDIR."search.php?stype=all'><input type='text' name='stext' value='Szukane wyrazenie...' onBlur=\"if(this.value=='') this.value='Szukane wyrazenie...';\" onFocus=\"if(this.value=='Szukane wyrazenie...') this.value='';\" class='textbox' style='width:150px' style='height:15px'></td><td><input type='image'src='".THEME."/images/szukaj.jpg' name='search' value='".$locale['550']."'></td></table></form>
</td>
</table>
</td>
<td align='right'>
<a href='http://www.google.com/reader/public/atom/user/17630967778111263644/label/News' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('".THEME."/astral/images/rss2.jpg') style='text-align: right'><img alt='' style='text-align: right ; ' src='".THEME."images/rss.jpg'></a>
</td></tr></table></div></div>
EDIT NOWE!!
Poniewa? efeekt nie by? zadawalaj?cy postanowi?em pój?? troch? inn? drog?. W efekcie lightbox który zauwa?y?em na stronie miastogier.pl po otwarciu obrazka jest fajna belka która jak ula? pasuje do tego co chc? zrobi?. W za??czniku zamieszczam ju? zmodyfikowane pliki strony. Potrzebuj? jednak kogo? kto pomo?e mi przerobi? kod tak aby pasek pojawia? si? automatycznie po otwarciu strony i bel okienka z ?adowaniem obrazka. Poprostu sam pasek w takiej formie w jakiej jest teraz.
PW od moderatora:
- Przeniesienie tematu - bartek124 29.04 - 19:35
Piter573PB dodał/a następującą plik:
Edytowane przez Piter573PB dnia 22.05.2008 10:20:22
|
|
|
|
W?cibski Go?? |
Dodany dnia 09.09.2025 22:19:57
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
MeTeo |
Dodany dnia 29.04.2008 21:24:33
|

Bywalec

Postów: 880 Pomógł: 23 Ostrzeżeń: 2
Data rejestracji: 14.12.2005 19:38
|
W theme.php na samym pocz?tku gdy rozpoczyna si? "table" mo?esz to wstawi?... |
|
|
|
Piter573PB |
Dodany dnia 01.05.2008 16:14:05
|

Przedszkolak

Postów: 53
Data rejestracji: 19.01.2008 11:31
|
Ale jak ju? pisa?em we wcze?niejszym po?cie przez co? takiego efekt jest inny od zamierzonego.Tak to wyglada:

A ja chcia?bym co? jak na np. bblogach onetu gdzie nie ma luk po bokach i nad czarnym paskiem. To jest kod mojego theme.php
<?
//************************************************************************************************************************//
// Theme Name: Astral Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/viewforum.php?forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
// theme settings
$body_text = "#202020";
$theme_width = "950";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings,$userdata,$aidlink,$loginerror;
echo "<table background-color:#00000; width='100%'>";
echo "<td width='100%' height='20' cellSpacing='0' cellPadding='0' background-color:#00000 style='background-image:url(".THEME."images/black.gif)';>";
echo "</td>";
echo "<table cellSpacing='0' cellPadding='0' width='$theme_width' align='center'>";
echo "<tr><td class='head-tleft'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='head-tmain' colSpan='2'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='1'></td>";
echo "<td class='head-tright'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='14'></td></tr>";
echo "<tr><td class='head-left'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='header' colSpan='2'>";
// Start banner code
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<td width='602' height='178' background-color:#00000; anchor : 'center', align : 'center' style='background-image:url(".THEME."images/logonew.jpg)' >";
echo "</td>";
echo "<td background-color:#579ecc; >";
echo "<div align='right'>";
if (iMEMBER) {
opensidel();
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></center><br>\n";
} else {
echo "<center><img src='".INFUSIONS."user_info_panel/images/brak.gif' width='50' hight='50'></center><br>\n";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Edytuj Profil</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Twoje Wiadomosci</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Lista Uzytkownikw</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php".$aidlink."' class='side'> Administracja</a><br>\n";
}{echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Wyloguj</a>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
Login
<input type='text' name='user_name' class='textbox' onBlur=\"if(this.value=='') this.value='';\" onFocus=\"if(this.value=='nick') this.value='';\" style='width:100px'><br><br>
Haso
<input type='password' name='user_pass' class='textbox' onBlur=\"if(this.value=='') this.value='';\" onFocus=\"if(this.value=='haslo') this.value='';\" style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='Zapamietaj mnie' style='vertical-align:middle;'> <p1>Pamitaj mnie</p1><br><br>
<input type='submit' name='login' value='Zaloguj' class='button'>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='side'>Rejestracja</a><br>\n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='side'>Zapomniaem Hasa</a>
</div>\n";
}
closesidel();
echo "</div>";
echo "</td>";
echo "</tr></td></tr></table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:0px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='130' class='border'>
<tr>
<td class='side-bodylog'></td>
</tr>
<tr>
<td class='side-bodylog'>\n";
}
function closesidel() {
echo "</td>
</tr>
</table>\n";
tablebreak();
echo "</tr></table></td>";
// End banner code
echo "<td class='head-right'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='14'></td></tr>";
echo "<tr><td class='head-bot-left'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='14'></td>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td class='head-bot-main'>\n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " r6;\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>\n";
echo "<td class='head-bot-main' align='right'>";
echo "<div id='Clock'></div>";
echo "<script type='text/javascript'>
<!--
var DayNam = new Array(
'Niedziela,','Poniedzia?_ek,','Wtorek,','?_roda,','Czwartek,','PiÄ_tek,','Sobota,');
var MnthNam = new Array(
'Stycze?_','Luty','Marzec','Kwiecie?_','Maj','Czerwiec','Lipiec','Sierpie?_','Wrzesie?_','Pa??dziernik','Listopad','Grudzie?_');
//-->
</script>";
echo "<script type='text/javascript' src='".THEME."/clock.js'></script></div></div></span>";
echo "</td>";
echo "<td class='head-bot-right'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='14'></td></tr></table>";
echo "<table width='980' cellspacing='0' cellpadding='0' align='center'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='0' width='$theme_width' align='center'>";
echo "<tr>";
echo "<td>".stripslashes($settings['footer'])."</td></tr></table><br>";
echo "<table cellSpacing='0' cellPadding='0' width='$theme_width' align='center' border='0'><tr>";
echo "<td class='head-tleft'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='head-tmain' colspan='3'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='1'></td>";
echo "<td class='head-tright'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='14'></td></tr>";
echo "<tr><td class='head-left'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td width='35%' align='left' class='header'>";
echo "Render time: ".substr((get_microtime() - START_TIME),0,4)." sekundy";
echo "</td>";
echo "<td align='center' class='header'><b></b> ";
echo "Copyright © ZSG nr 5 w Radomsku ".date("Y");
echo "</td>";
echo "<td width='35%' align='right' class='header'>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td>";
echo "<td class='head-right'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='9'></td></tr>";
echo "<tr><td class='head-bot-left'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='head-bot-main' align='center' colspan='3' >";
echo "</td>";
echo "<td class='head-bot-right'>";
echo "<img height='25' alt src='".THEME."images/pixel.gif' width='9'></td>
</tr></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table cellSpacing='0' cellPadding='0' width='100%'><tr><td class='blue_top_left_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='blue_top_mid_block' width='100%'>$subject</td>";
echo "<td class='blue_top_right_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'><tr><td class='block-left'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='main-body'>
<div style='vertical-align: top; width: 100%'>$news</div>";
echo "<div style='margin-top: 5px'>";
echo "<hr>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='sfooter' >";
echo "<img src='".THEME."images/bullet.gif' width='4' height='6'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("shortdate", $info['news_date'])."</td>";
echo "<td class='sfooter' align='right'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> \n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></div></td>";
echo "<td class='block-right'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='9'></td></tr>";
echo "<tr><td class='block-bleft'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='block-bmain'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='1'></td>";
echo "<td class='block-bright'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='top_left_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='top_mid_block' width='100%'>$subject</td>";
echo "<td class='top_right_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='block-left'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='main-body'>
<img src='".THEME."images/bullet.gif' width='4' height='6'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "<div style='vertical-align: top; WIDTH: 100%'>$news</div>";
echo "<div style='margin-top: 5px'>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr>";
echo "<hr>";
echo "<td class='sfooter' >";
echo "<img src='".THEME."images/bullet.gif' width='4' height='6'> ";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("shortdate", $info['article_date'])."</td>";
echo "<td class='sfooter' align='left'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></div></td>";
echo "<td class='block-right'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='9'></td></tr>";
echo "<tr><td class='block-bleft'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='block-bmain'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='1'></td>";
echo "<td class='block-bright'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td></tr></table>\n";
}
function opentable($title) {
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='blue_top_left_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='blue_top_mid_block'>$title</td>";
echo "<td class='blue_top_right_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='1'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='block-left'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='side-body'>";
}
function closetable() {
echo "</td>";
echo "<td class='block-right'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='9'></td></tr>";
echo "<tr><td class='block-bleft'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='block-bmain'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='1'></td>";
echo "<td class='block-bright'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td></tr></table>";
}
function openside($title) {
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='top_left_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='top_mid_block' width='100%'>$title</td>";
echo "<td class='top_right_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='block-left'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='side-body'>";
}
function closeside() {
echo "</td>";
echo "<td class='block-right'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='9'></td></tr>";
echo "<tr><td class='block-bleft'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='block-bmain'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='1'></td>";
echo "<td class='block-bright'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='top_left_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='top_mid_block' width='100%'><img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>$title</td>";
echo "<td class='top_right_block'>";
echo "<img height='20' alt src='".THEME."images/pixel.gif' width='14'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'>";
echo "<tr><td class='block-left'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='14'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</td>";
echo "<td class='block-right'>";
echo "<img height='1' alt src='".THEME."images/pixel.gif' width='9'></td></tr>";
echo "<tr><td class='block-bleft'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td>";
echo "<td class='block-bmain'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='1'></td>";
echo "<td class='block-bright'>";
echo "<img height='13' alt src='".THEME."images/pixel.gif' width='9'></td></tr></table>";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='5'></td></tr></table>\n";
}
?>
Pasek mo?e te? by? w formie znaku wodnego tak aby si? przecówa? i ca?y czas by? widoczny. Tylko nie mo?e by? tych luk.
Edytowane przez Piter573PB dnia 01.05.2008 16:16:02
|
|
|
|
MeTeo |
Dodany dnia 01.05.2008 17:46:53
|

Bywalec

Postów: 880 Pomógł: 23 Ostrzeżeń: 2
Data rejestracji: 14.12.2005 19:38
|
Spróbuj zmieni?
echo "<td width='100%' height='20' cellSpacing='0' cellPadding='0' background-color:#00000 style='background-image:url(".THEME."images/black.gif)';>";
na
echo "<td width='100%' valign='top' height='20' cellSpacing='0' cellPadding='0' style='background-image:url(".THEME."images/black.gif)';>";
|
|
|
|
Piter573PB |
Dodany dnia 01.05.2008 19:04:37
|

Przedszkolak

Postów: 53
Data rejestracji: 19.01.2008 11:31
|
Dalej to samo. A mo?e da?o by si? to rozwiaza? na zasadzie reklamy. Tak jak na stronach s? p?ywaj?ce reklamy tak tu umie?ci? taki ma?y p?ywaj?cy pasek u samej góry ekranu. Tylko ustawi? jego szeroko?? na np. 2000px tak aby przy wy?szych rozdzielczo?ciach by?o na ca?? szeroko??. Tylko nie weim czy przy ni?szych nie rozciaga?a by strony. Jak by kto? wiedzia? jak ustawi? tak? "p?ywaj?c? ramk?" to by?o by fajnie. |
|
|
|
bartek124 |
Dodany dnia 01.05.2008 19:25:54
|

Weteran

Postów: 3264 Pomógł: 236
v7.02.06 Data rejestracji: 26.05.2007 12:25
|
W styles.css Twojego thema na ko?cu dodaj:
#infobar , #infobar a, #infobar a:link, #infobar a:visited, #infobar a:active
{
display: block;
overflow-x: hidden;
width:100%;
clear: both;
background-color: #ffffe1;
padding: .45em .3em .45em 2em;
border-bottom: .16em outset;
border-color: #E9CFD6;
text-decoration: none;
cursor: default;
position:fixed;
left:0;
top:0;
cursor:pointer;
}
#infobar a:hover
{
background-color: #316ac5;
left: 0;
top: 0;
cursor: pointer;
}
... a w subheader.php, po:
<head>
dodaj:
<div id='info'><div id='infobar' align='left'>[b]TUTAJ RÓBTA CO CHCETA[/b]</div></div>
Dostosuj sobie style, wygl?d, co chcesz.
Nie pomagam na komunikatorach oraz PW!
|
|
|
|
Piter573PB |
Dodany dnia 01.05.2008 19:39:56
|

Przedszkolak

Postów: 53
Data rejestracji: 19.01.2008 11:31
|
Teraz wyswietla si? poprawnie. Mam tylko problem z podzieleniem tego na kilka cz??ci tak aby by?y np. trzy linki: Home page, Szukaj i RSS. Ale teraz jak dodaj? jaki? link to rozciaga go na ca?? szeroko?? i wszystko jedno na jakiej szerokosci bym klikn?? zawsze przekierowywuje na jeden link, zmienienie szeroko?ci i dodawanie osobno znaczników <div infobar> nic nie daje. Chodzi mi o co? takiego:

Jak by kto? wiedzia? jak to zmieni? to by?bym wdzi?czny.
Edytowane przez Piter573PB dnia 08.05.2008 19:52:47
|
|
|
|
Qklik |
Dodany dnia 08.05.2008 19:50:46
|

Przedszkolak

Postów: 4
Data rejestracji: 22.02.2008 14:27
ZBANOWANY: Dożywotnio
|
Witam
Czy móg?by mi kto? powiedzie? czemu jak dodaje do kodu aby doda? kilka rzeczy na pasku? Mam ten sam problem co kolega wyzej. |
|
|
|
Piter573PB |
Dodany dnia 08.05.2008 19:51:55
|

Przedszkolak

Postów: 53
Data rejestracji: 19.01.2008 11:31
|
Wszystko fajnie z tym paskiem tyle ,?e on nie dzia?a poprawnie na IE.

Oto kod paska:
<div id='info'><div id='infobar' align='left'><table align='center' width='95%'><tr><td align='left'>
<table>
<td>
<a href='".BASEDIR."index.php' style='text-align: right'><img <img src='".THEME."/images/hp.gif' ; '></a> </td>
<td>
<table algin='right'><td><form name='searchform' method='post' action='".BASEDIR."search.php?stype=all'><input type='text' name='stext' value='Szukane wyrazenie...' onBlur=\"if(this.value=='') this.value='Szukane wyrazenie...';\" onFocus=\"if(this.value=='Szukane wyrazenie...') this.value='';\" class='textbox' style='width:150px' style='height:15px'></td><td><input type='image'src='".THEME."/images/szukaj.jpg' name='search' value='".$locale['550']."'></td></table></form>
</td>
</table>
</td>
<td align='right'>
<a href='http://www.google.com/reader/public/atom/user/17630967778111263644/label/News' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('".THEME."/astral/images/rss2.jpg') style='text-align: right'><img alt='' style='text-align: right ; ' src='".THEME."images/rss.jpg'></a>
</td></tr></table></div></div>
Na FF i Operze wszystko jest ok. Jak by kto? wiedzia? co z tym zrobi? to by?bym wdzi?czny.
@Qklik. Ja ju? sobie z tym problemem poradzi?em. Zobacz sobie ten kod co go wstawi?em. Tam jest wszystko;) |
|
|
|
bartek124 |
Dodany dnia 22.05.2008 11:14:41
|

Weteran

Postów: 3264 Pomógł: 236
v7.02.06 Data rejestracji: 26.05.2007 12:25
|
Sprawdzi?em to i doszed?em go wniosku ?e po?o?enie paska wzgl?dem strony w IE zale?y od thema.
http://www.bartek...t.yoyo.pl/ - thema Valencia. Wszystko pi?knie gra na FF i IE.
Nie pomagam na komunikatorach oraz PW!
|
|
|
|
Piter573PB |
Dodany dnia 22.05.2008 18:14:09
|

Przedszkolak

Postów: 53
Data rejestracji: 19.01.2008 11:31
|
Ok, Bartek. Wszystko ju? dzia??. Dzieki za pomoc . W za??czniku daj? paczk? ze zmodyfikowanymi plikami pod astral. Efekt mo?na zobaczy? na http://zsg5radoms...l/news.php
Piter573PB dodał/a następującą plik:
|
|
|
|
DORBITB |
Dodany dnia 22.05.2008 19:30:58
|

Pocz?tkuj?cy

Postów: 117 Pomógł: 1 Ostrzeżeń: 5
v7.02.04 Data rejestracji: 18.04.2006 20:55
|
Ale jak zrobi? ?eby pasek zosta? u góry, a strona sie przesuwa?a.
Edytowane przez bartek124 dnia 22.05.2008 19:39:21
|
|
|
|
bartek124 |
Dodany dnia 22.05.2008 19:38:22
|

Weteran

Postów: 3264 Pomógł: 236
v7.02.06 Data rejestracji: 26.05.2007 12:25
|
Skorzystaj z tego co ja da?em .
Nie pomagam na komunikatorach oraz PW!
|
|
|
|
Piter573PB |
Dodany dnia 22.05.2008 20:16:35
|

Przedszkolak

Postów: 53
Data rejestracji: 19.01.2008 11:31
|
Dorbit jak chcesz mie? pasek ca?y czas na wirzchu to w pliku style CSS daj to co napisa? wcze?niej Bartek. Mo?e by? tylko problem z prawid?owym wyswietlaniem na IE7 i Operze 9.50Beta2. A jak nie to we? to co da?em w za??czniku. Tam wszystko dzia?a dobrze na wszystkich 4 najpopularniejszych przegl?darkach. |
|
|