free flash templates
free flash templates menu free css & photoshop templates menu free flash animation

Go Back   free flash templates forum > Free flash templates
Register Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-29-2009, 12:03 PM
ho_pe_
Guest
 
Posts: n/a
Default problem with lightbox in template 7

Hi all,

can you help me with error in template 7?
I has implemtented lightbox to this template, but firefox and IE6 doesn't work correctly and it is not loading my mainpage.

The error is on line 23 char 3, but I don't understand to this, because I have implemented code in same way as in templete 9 (on line 23 in index file I have code of Terms of use)

beta version of website is on: http://new.listovecentrum.sk/

thanx a lot...
  #2  
Old 07-29-2009, 05:54 PM
freenicetemplates freenicetemplates is offline
Administrator
 
Join Date: Mar 2009
Posts: 507
Default light box in flash template 7

Hi,
Don't forget to copy the folder js/lightbox from template 9 to template 7.
And don't forget to add :
<script src="js/lightbox/prototype.js" type="text/javascript"></script>
<script src="js/lightbox/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="js/lightbox/lightbox.js" type="text/javascript"></script>
<link rel="stylesheet" href="js/lightbox/css/lightbox.css" type="text/css" media="screen" />

in the header of index.htm page.
__________________
We are always pleased to read you in our guestbook
  #3  
Old 07-29-2009, 06:25 PM
ho_pe_
Guest
 
Posts: n/a
Default light box in flash template 7

Hi,

just this I made and this problem (as I described above) caused.

I have copied exactly header (except terms of use) with script & link section from tempalte 9 but in itemplate 7 it doesn't work.

Also I tried do same with newer version of lightbox (version 2.0) and with similiar java script (facebox) and problem is still there

I was working on it so maybe due this reason if you checked it online it was no there.

I will leave it in form as you described for your check.

It seems that there is probleme if I can add any kind of java script into the header section... I has tried now simple java script and here you can see result...totaly destroyed template 7 (http://new.listovecentrum.sk/index2.htm)

Thanx.

hope

Last edited by ho_pe_; 07-29-2009 at 06:52 PM.
  #4  
Old 07-30-2009, 07:30 AM
freenicetemplates freenicetemplates is offline
Administrator
 
Join Date: Mar 2009
Posts: 507
Default javascript and flash template

Hi,
In the template your show us yersterday there was missing :

<script src="js/lightbox/prototype.js" type="text/javascript"></script>
<script src="js/lightbox/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="js/lightbox/lightbox.js" type="text/javascript"></script>
<link rel="stylesheet" href="js/lightbox/css/lightbox.css" type="text/css" media="screen" />

in the header of index.htm page.
And they are still missing. You should put back the template as it was yesterday and add these lines. If there are still troubles tell us.
__________________
We are always pleased to read you in our guestbook
  #5  
Old 07-30-2009, 10:57 AM
ho_pe_
Guest
 
Posts: n/a
Default

Hi, I don't know about missing code... without any changes in this moment, I has opened this site on http://new.listovecentrum.sk/ and in this index.htm file is this header section (due to number of characters I have delete for this post code for Terms of use):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=CP1250" />
<meta name="description" content="We provide free flash templates, free templates, free flash header"/>
<meta name="keywords" content="free flash buttons, free templates, free flash header"/>
<script src="js/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="js/jquery121.js" type="text/javascript"></script>
<script src="js/sound.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
<script src="js/lightbox/prototype.js" type="text/javascript"></script>
<script src="js/lightbox/scriptaculous.js?load=effects" type="text/javascript"></script>

<script src="js/lightbox/lightbox.js" type="text/javascript"></script>
<link rel="stylesheet" href="js/lightbox/css/lightbox.css" type="text/css" media="screen" />

<link href="css/stylesheet.css" rel="stylesheet" type="text/css" />
<title>LIŠTOVÉ CENTRUM, spol. s r.o. Žilina</title>
<!--BEGIN OF TERMS OF USE. DO NOT EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE-->
<style>#free-flash-header a,#free-flash-header a:hover {color:#c2cae0;}#free-flash-header a:hover {text-decoration:none}</style>
<script language="javascript">
var mytpcba='%3c ... 3e%0a';
document.write(unescape(mytpcba));
</script>
<!--END OF TERMS OF USE-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="css/stylesheetie6.css" />
<![endif]-->
<!--[if IE]>
<style type="text/css">
<!--
object,embed{margin:0px!important;}
html {overflow-x:hidden;}
-->
</style>
<![endif]-->
</head>

As you can see red marked part of code is same as you wrote in your post and stil there is a problem with properly working template is still there.
Also there is problem if I want add any kind of java script into the header, not only lightbox, with correctly working java scripts. It seems that java script for this template is "fighting" with all other java scripts, but I don't understand why.

thanx.
  #6  
Old 07-30-2009, 08:55 PM
freenicetemplates freenicetemplates is offline
Administrator
 
Join Date: Mar 2009
Posts: 507
Default javascript inside flash template

Hi,
I see where the problem is coming from.
Can you tray to copy the main.js from web template 9 to web template 7 ?
__________________
We are always pleased to read you in our guestbook
  #7  
Old 11-25-2009, 10:17 AM
AlissonMurphy
Guest
 
Posts: n/a
Default

This is exactly what i was looking for. thank you for the informative post and keep up the good work!
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.