Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Editing a pre-defined Template


Editing a pre-defined Template

Reply
  #1 (permalink)  
Old 04-26-05, 08:35 AM
Sfwr26's Avatar
Sfwr26 Sfwr26 is offline
Newbie Coder
 
Join Date: Apr 2005
Location: Far from home
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Question Editing a pre-defined Template

Hello everyone.

I have bought some professional business templates for my website.

I was wondering if I can edit the template - I want it to be 'aligned' or show in the middle of the browser window when the page loads.

Is this possible ? Please advice,thanks.

Blessings,
Bob

PS:The template is on the left of my browser,leaving an unwanted space at the right of my page.

Last edited by Sfwr26; 04-26-05 at 08:36 AM. Reason: PS
Reply With Quote
  #2 (permalink)  
Old 04-26-05, 09:03 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
everything is possible!
but we can't help without seeing the code
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #3 (permalink)  
Old 04-26-05, 09:15 AM
Sfwr26's Avatar
Sfwr26 Sfwr26 is offline
Newbie Coder
 
Join Date: Apr 2005
Location: Far from home
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
In order to get the code of the template do I have to apply it and then 'publish' my site online ? Or,can I possibly see its code before that stage ? Im using Registerfly's hosting and site creator.

Thanks a lot for the support NeverMind,

Bob
Reply With Quote
  #4 (permalink)  
Old 04-26-05, 09:42 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
you can show the template code before publishing it online!
whatever was the file extension, open it with notepad or any normal text editor and copy the code and then paste it here between the [code ]CODE_HERE[/code ] just remove the spaces inside the [ ] brackets..
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #5 (permalink)  
Old 04-27-05, 10:05 AM
Sfwr26's Avatar
Sfwr26 Sfwr26 is offline
Newbie Coder
 
Join Date: Apr 2005
Location: Far from home
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
<html><head><title>Welcome Page</title><META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<script>document.write('<script src="js/hp_title.js"></');
document.write('script>');
document.write('<script src="js/hp_ba.js"></');
document.write('script>');
document.write('<script src="js/hp_navig.js"></');
document.write('script>');
document.write('<script src="js/hp_mi.js"></');
document.write('script>');
document.write('<script src="js/hp_subnavig.js"></');
document.write('script>');
document.write('<script src="js/hp_gen_subnavig.js"></');
document.write('script>');
</script></head><script>
document.write('<script src="js/hp_header.js"></');
document.write('script>');
document.write('<script src="js/hp_ng1.js"></');
document.write('script>');
document.write('<script src="js/hp_mt.js"></');
document.write('script>');
document.write('<script src="js/hp_main.js"></');
document.write('script>');
document.write('<script src="js/hp_ng2.js"></');
document.write('script>');
document.write('<script src="js/hp_st.js"></');
document.write('script>');
</script><script>document.write('</TR>');
document.write('	<TR>');
document.write('		<TD valign=top  background="img/hp/base/mesg1.jpg"  width=272 height=157 /><FONT size="2" face="Arial, Helvetica, sans-serif">');</script>
<!--f1><f1--><font color="#000000"><!--f2><f2-->The Welcome Page introduces your company and your products & services and highlights key areas on your website that might be of interest to your visitor.<!--f3><f3--></font><!--f4><f4-->
<script>document.write('</FONT></TD>');
document.write('		<TD valign=top>');
document.write('			<IMG src="img/base/ba_trans.gif" name="hp_ba15" width=24 height=157 /></TD>');
</script><script>document.write('<TD valign=top  background="img/hp/base/mesg2.jpg"  width=438 height=157 /><FONT size="2" face="Arial, Helvetica, sans-serif">');</script>
<!--f1><f1--><font color="#000000"><!--f2><f2-->Welcome Page is to provide the information that your users want at a glance, while offering links to the rest of your website.<!--f3><f3--></font><!--f4><f4-->
<script>document.write('</FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD colspan=3 valign=top>');
document.write('			<IMG src="img/base/ba_trans.gif" name="hp_ba16" width=293 height=24 /></TD>');
document.write('<script src="js/hp_email.js"></');
document.write('script>');
document.write('<script src="js/hp_footer.js"></');
document.write('script>');
document.write('<script src="js/hp_dfooter.js"></');
document.write('script>');
</script>
<script>
document.write('<script src="js/hp_fun_call.js"></');
document.write('script>');
</script>
Reply With Quote
  #6 (permalink)  
Old 04-27-05, 01:11 PM
Sfwr26's Avatar
Sfwr26 Sfwr26 is offline
Newbie Coder
 
Join Date: Apr 2005
Location: Far from home
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
I would like to learn everything about templates - from definition,examples to how to create them and edit them..

My knowledge is in HTML and Javascript at the moment - at least in the webdesiging field.

Rob
Reply With Quote
  #7 (permalink)  
Old 04-27-05, 05:19 PM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
is this really a professional template!?
sorry man! I don't even see a <table> tag for all these cells used so I can align it to center!
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #8 (permalink)  
Old 04-27-05, 09:52 PM
kjmatthews kjmatthews is offline
Wannabe Coder
 
Join Date: Jun 2004
Location: Boston, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
It's probably in one of the other .js scripts that gets called. Looks pretty ugly to me...
Reply With Quote
  #9 (permalink)  
Old 04-28-05, 04:09 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
it is bad because it's relying on javascript to print the contents..
so if user turns javascript off, s/he will see nothing..
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #10 (permalink)  
Old 04-28-05, 06:02 AM
abraxxas's Avatar
abraxxas abraxxas is offline
Newbie Coder
 
Join Date: Apr 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Hahaha, there is probably more HTML code inside document.write's in the included javascripts

Edit: Ok, I totally missed the part where this had already been said, hrrrm
__________________
Will work for bandwidth
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template Slicer for Hire pixelatedmedia Job Offers & Assistance 0 02-14-05 04:39 AM
Template System xylite04 Script Requests 0 07-29-04 11:48 AM
How to go about creating template system? Alan PHP 9 06-12-04 10:37 AM
High-Quality Template, .PSD +.PNG Fireworks, US$34.99, corporate/business template gwx General Advertisements 0 01-09-04 10:23 PM
Good template system [PL]Greg PHP 3 06-28-03 04:09 AM


All times are GMT -5. The time now is 08:43 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.