Merge branch 'master' of https://github.com/Eiffel-World/EiffelWebNino
This commit is contained in:
@@ -1,44 +1,44 @@
|
||||
note
|
||||
description : "nino application root class"
|
||||
date : "$Date$"
|
||||
revision : "$Revision$"
|
||||
|
||||
class
|
||||
APPLICATION
|
||||
|
||||
inherit
|
||||
ARGUMENTS
|
||||
|
||||
HTTP_SERVER_SHARED_CONFIGURATION
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make
|
||||
-- Run application.
|
||||
local
|
||||
l_server : HTTP_SERVER
|
||||
l_cfg: HTTP_SERVER_CONFIGURATION
|
||||
l_http_handler : HTTP_HANDLER
|
||||
do
|
||||
create l_cfg.make
|
||||
l_cfg.http_server_port := 9_000
|
||||
l_cfg.document_root := default_document_root
|
||||
set_server_configuration (l_cfg)
|
||||
debug ("nino")
|
||||
l_cfg.set_is_verbose (True)
|
||||
end
|
||||
|
||||
create l_server.make (l_cfg)
|
||||
create {APPLICATION_CONNECTION_HANDLER} l_http_handler.make (l_server)
|
||||
l_server.setup (l_http_handler)
|
||||
end
|
||||
|
||||
feature -- Access
|
||||
|
||||
default_document_root: STRING = "webroot"
|
||||
|
||||
end
|
||||
|
||||
note
|
||||
description : "nino application root class"
|
||||
date : "$Date$"
|
||||
revision : "$Revision$"
|
||||
|
||||
class
|
||||
APPLICATION
|
||||
|
||||
inherit
|
||||
ARGUMENTS
|
||||
|
||||
HTTP_SERVER_SHARED_CONFIGURATION
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make
|
||||
-- Run application.
|
||||
local
|
||||
l_server : HTTP_SERVER
|
||||
l_cfg: HTTP_SERVER_CONFIGURATION
|
||||
l_http_handler : HTTP_HANDLER
|
||||
do
|
||||
create l_cfg.make
|
||||
l_cfg.http_server_port := 9_000
|
||||
l_cfg.document_root := default_document_root
|
||||
set_server_configuration (l_cfg)
|
||||
debug ("nino")
|
||||
l_cfg.set_is_verbose (True)
|
||||
end
|
||||
|
||||
create l_server.make (l_cfg)
|
||||
create {APPLICATION_CONNECTION_HANDLER} l_http_handler.make (l_server)
|
||||
l_server.setup (l_http_handler)
|
||||
end
|
||||
|
||||
feature -- Access
|
||||
|
||||
default_document_root: STRING = "webroot"
|
||||
|
||||
end
|
||||
|
||||
|
||||
@@ -1,115 +1,115 @@
|
||||
note
|
||||
description: "Summary description for {HEAD_REQUEST_HANDLER}."
|
||||
author: ""
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
HEAD_REQUEST_HANDLER
|
||||
|
||||
inherit
|
||||
|
||||
SHARED_DOCUMENT_ROOT
|
||||
|
||||
SHARED_URI_CONTENTS_TYPES
|
||||
|
||||
HTTP_REQUEST_HANDLER
|
||||
|
||||
HTTP_CONSTANTS
|
||||
|
||||
feature
|
||||
|
||||
|
||||
process
|
||||
-- process the request and create an answer
|
||||
local
|
||||
fname: STRING
|
||||
f: RAW_FILE
|
||||
ctype, extension: STRING
|
||||
do
|
||||
fname := document_root_cell.item.twin
|
||||
fname.append (request_uri)
|
||||
debug
|
||||
print ("URI name: " + fname )
|
||||
end
|
||||
create f.make (fname)
|
||||
create answer.make
|
||||
if f.exists then
|
||||
extension := ct_table.extension (request_uri)
|
||||
ctype := ct_table.content_types.item (extension)
|
||||
-- TODO: This code could be improved to avoid string
|
||||
-- comparisons
|
||||
if ctype = Void then
|
||||
process_default
|
||||
answer.set_content_type ("text/html")
|
||||
else
|
||||
if ctype.is_equal ("text/html") then
|
||||
process_text_file (f)
|
||||
else
|
||||
process_raw_file (f)
|
||||
end
|
||||
answer.set_content_type (ctype)
|
||||
end
|
||||
else
|
||||
answer.set_status_code (not_found)
|
||||
answer.set_reason_phrase (not_found_message)
|
||||
answer.set_reply_text ("Not found on this server%N%R")
|
||||
end
|
||||
end
|
||||
|
||||
process_default
|
||||
--
|
||||
local
|
||||
html : STRING
|
||||
do
|
||||
answer.set_reply_text ("")
|
||||
html := " <html> <head> <title> Micro HTTPD </title> " +
|
||||
" </head> " +
|
||||
" <body> " +
|
||||
" <h1> Welcome to Micro HTTPD! </h1> "+
|
||||
" <p> Default page " +
|
||||
|
||||
" </p> " +
|
||||
" </body> " +
|
||||
" </html> "
|
||||
answer.append_reply_text (html)
|
||||
end
|
||||
|
||||
|
||||
process_text_file (f: FILE)
|
||||
-- send a text file reply
|
||||
require
|
||||
valid_f: f /= Void
|
||||
do
|
||||
f.open_read
|
||||
from
|
||||
answer.set_reply_text ("")
|
||||
f.read_line
|
||||
until f.end_of_file
|
||||
loop
|
||||
answer.append_reply_text (f.last_string)
|
||||
answer.append_reply_text (crlf)
|
||||
f.read_line
|
||||
end
|
||||
f.close
|
||||
end
|
||||
|
||||
process_raw_file (f: FILE)
|
||||
-- send a raw file reply
|
||||
require
|
||||
valid_f: f /= Void
|
||||
do
|
||||
-- this is not quite right....
|
||||
f.open_read
|
||||
from
|
||||
answer.set_reply_text ("")
|
||||
until f.end_of_file
|
||||
loop
|
||||
f.read_stream (1024)
|
||||
answer.append_reply_text (f.last_string)
|
||||
end
|
||||
f.close
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
note
|
||||
description: "Summary description for {HEAD_REQUEST_HANDLER}."
|
||||
author: ""
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
HEAD_REQUEST_HANDLER
|
||||
|
||||
inherit
|
||||
|
||||
SHARED_DOCUMENT_ROOT
|
||||
|
||||
SHARED_URI_CONTENTS_TYPES
|
||||
|
||||
HTTP_REQUEST_HANDLER
|
||||
|
||||
HTTP_CONSTANTS
|
||||
|
||||
feature
|
||||
|
||||
|
||||
process
|
||||
-- process the request and create an answer
|
||||
local
|
||||
fname: STRING
|
||||
f: RAW_FILE
|
||||
ctype, extension: STRING
|
||||
do
|
||||
fname := document_root_cell.item.twin
|
||||
fname.append (request_uri)
|
||||
debug
|
||||
print ("URI name: " + fname )
|
||||
end
|
||||
create f.make (fname)
|
||||
create answer.make
|
||||
if f.exists then
|
||||
extension := ct_table.extension (request_uri)
|
||||
ctype := ct_table.content_types.item (extension)
|
||||
-- TODO: This code could be improved to avoid string
|
||||
-- comparisons
|
||||
if ctype = Void then
|
||||
process_default
|
||||
answer.set_content_type ("text/html")
|
||||
else
|
||||
if ctype.is_equal ("text/html") then
|
||||
process_text_file (f)
|
||||
else
|
||||
process_raw_file (f)
|
||||
end
|
||||
answer.set_content_type (ctype)
|
||||
end
|
||||
else
|
||||
answer.set_status_code (not_found)
|
||||
answer.set_reason_phrase (not_found_message)
|
||||
answer.set_reply_text ("Not found on this server%N%R")
|
||||
end
|
||||
end
|
||||
|
||||
process_default
|
||||
--
|
||||
local
|
||||
html : STRING
|
||||
do
|
||||
answer.set_reply_text ("")
|
||||
html := " <html> <head> <title> Micro HTTPD </title> " +
|
||||
" </head> " +
|
||||
" <body> " +
|
||||
" <h1> Welcome to Micro HTTPD! </h1> "+
|
||||
" <p> Default page " +
|
||||
|
||||
" </p> " +
|
||||
" </body> " +
|
||||
" </html> "
|
||||
answer.append_reply_text (html)
|
||||
end
|
||||
|
||||
|
||||
process_text_file (f: FILE)
|
||||
-- send a text file reply
|
||||
require
|
||||
valid_f: f /= Void
|
||||
do
|
||||
f.open_read
|
||||
from
|
||||
answer.set_reply_text ("")
|
||||
f.read_line
|
||||
until f.end_of_file
|
||||
loop
|
||||
answer.append_reply_text (f.last_string)
|
||||
answer.append_reply_text (crlf)
|
||||
f.read_line
|
||||
end
|
||||
f.close
|
||||
end
|
||||
|
||||
process_raw_file (f: FILE)
|
||||
-- send a raw file reply
|
||||
require
|
||||
valid_f: f /= Void
|
||||
do
|
||||
-- this is not quite right....
|
||||
f.open_read
|
||||
from
|
||||
answer.set_reply_text ("")
|
||||
until f.end_of_file
|
||||
loop
|
||||
f.read_stream (1024)
|
||||
answer.append_reply_text (f.last_string)
|
||||
end
|
||||
f.close
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
note
|
||||
description: "Summary description for {POST_REQUEST_HANDLER}."
|
||||
author: ""
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
POST_REQUEST_HANDLER
|
||||
|
||||
inherit
|
||||
GET_REQUEST_HANDLER
|
||||
redefine
|
||||
process
|
||||
end
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature -- Execution
|
||||
|
||||
process
|
||||
-- process the request and create an answer
|
||||
local
|
||||
l_data: STRING
|
||||
s: detachable STRING
|
||||
n: INTEGER
|
||||
sock: like socket
|
||||
do
|
||||
from
|
||||
n := 1_024
|
||||
sock := socket
|
||||
if sock.socket_ok then
|
||||
sock.read_stream_thread_aware (n)
|
||||
s := sock.last_string
|
||||
else
|
||||
s := Void
|
||||
end
|
||||
create l_data.make_empty
|
||||
until
|
||||
s = Void or else s.count < n
|
||||
loop
|
||||
l_data.append_string (s)
|
||||
if sock.socket_ok then
|
||||
sock.read_stream_thread_aware (n)
|
||||
s := sock.last_string
|
||||
else
|
||||
s := Void
|
||||
end
|
||||
end
|
||||
Precursor
|
||||
end
|
||||
|
||||
end
|
||||
note
|
||||
description: "Summary description for {POST_REQUEST_HANDLER}."
|
||||
author: ""
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
POST_REQUEST_HANDLER
|
||||
|
||||
inherit
|
||||
GET_REQUEST_HANDLER
|
||||
redefine
|
||||
process
|
||||
end
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature -- Execution
|
||||
|
||||
process
|
||||
-- process the request and create an answer
|
||||
local
|
||||
l_data: STRING
|
||||
s: detachable STRING
|
||||
n: INTEGER
|
||||
sock: like socket
|
||||
do
|
||||
from
|
||||
n := 1_024
|
||||
sock := socket
|
||||
if sock.socket_ok then
|
||||
sock.read_stream_thread_aware (n)
|
||||
s := sock.last_string
|
||||
else
|
||||
s := Void
|
||||
end
|
||||
create l_data.make_empty
|
||||
until
|
||||
s = Void or else s.count < n
|
||||
loop
|
||||
l_data.append_string (s)
|
||||
if sock.socket_ok then
|
||||
sock.read_stream_thread_aware (n)
|
||||
s := sock.last_string
|
||||
else
|
||||
s := Void
|
||||
end
|
||||
end
|
||||
Precursor
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -1,91 +1,91 @@
|
||||
1.4.2
|
||||
[Feature]
|
||||
- The plugin support percentages as target ('50%' or {top:'50%', left:'45%'})
|
||||
- Exposed the max() calculation as $.scrollTo.max
|
||||
[Enhancement]
|
||||
- Renamed $.fn.scrollable to $.fn._scrollable to avoid conflicts with other plugins
|
||||
[Fix]
|
||||
- Fixing max calculations for regular DOM elements
|
||||
|
||||
1.4.1
|
||||
[Feature]
|
||||
- The target can be 'max' to scroll to the end while keeping it elegant.
|
||||
[Enhancement]
|
||||
- Default duration is 0 for jquery +1.3. Means sync animation
|
||||
- The plugin works on all major browsers, on compat & quirks modes, including iframes.
|
||||
- In addition to window/document, if html or body are received, the plugin will choose the right one.
|
||||
[Fix]
|
||||
- The plugin accepts floating numbers, Thanks Ramin
|
||||
- Using jQuery.nodeName where neccessary so that this works on xml+xhtml
|
||||
- The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable).
|
||||
|
||||
1.4
|
||||
[Fix]
|
||||
- Fixed the problem when scrolling the window to absolute positioned elements on Safari.
|
||||
- Fixed the problem on Opera 9.5 when scrolling the window. That it always scrolls to 0.
|
||||
[Feature]
|
||||
- Added the settings object as 2nd argument to the onAfter callback.
|
||||
- The 3rd argument of scrollTo can be just a function and it's used as the onAfter.
|
||||
- Added full support for iframes (even max scroll calculation).
|
||||
- Instead of $.scrollTo, $(window).scrollTo() and $(document).scrollTo() can be used.
|
||||
- Added $().scrollable() that returns the real element to scroll, f.e: $(window).scrollable() == [body|html], works for iframes.
|
||||
[Enhancement]
|
||||
- Cleaned the code a bit, specially the comments
|
||||
|
||||
1.3.3
|
||||
[Change]
|
||||
- Changed the licensing from GPL to GPL+MIT.
|
||||
|
||||
1.3.2
|
||||
[Enhancement]
|
||||
- Small improvements to make the code shorter.
|
||||
[Change]
|
||||
- Removed the last argument received by onAfter as it was the same as the 'this' but jqueryfied.
|
||||
|
||||
1.3.1
|
||||
[Feature]
|
||||
- Exposed $.scrollTo.window() to get the element that needs to be animated, to scroll the window.
|
||||
- Added option 'over'.
|
||||
[Enhancement]
|
||||
- Made the code as short as possible.
|
||||
[Change]
|
||||
- Changed the arguments received by onAfter
|
||||
|
||||
1.3
|
||||
[Enhancement]
|
||||
- Added semicolon to the start, for safe file concatenation
|
||||
- Added a limit check, values below 0 or over the maximum are fixed.
|
||||
- Now it should work faster, only one of html or body go through all the processing, instead of both for all browsers.
|
||||
[Fix]
|
||||
- Fixed the behavior for Opera, which seemed to react to both changes on <html> and <body>.
|
||||
- The border is also reduced, when 'margin' is set to true.
|
||||
[Change]
|
||||
- The option speed has been renamed to duration.
|
||||
[Feature]
|
||||
- The duration can be specified with a number as 2nd argument, and the rest of the settings as the third ( like $().animate )
|
||||
- Remade the demo
|
||||
|
||||
1.2.4
|
||||
[Enhancement]
|
||||
- The target can be in the form of { top:x, left:y } allowing different position for each axis.
|
||||
[Feature]
|
||||
- The option 'offset' has been added, to scroll behind or past the target. Can be a number(both axes) or { top:x, left:y }.
|
||||
|
||||
1.2.3
|
||||
[Feature]
|
||||
- Exposed the defaults.
|
||||
[Enhancement]
|
||||
- Made the callback functions receive more parameters.
|
||||
|
||||
1.2.2
|
||||
[Fix]
|
||||
- Fixed a bug, I didn't have to add the scrolled amount if it was body or html.
|
||||
|
||||
1.2
|
||||
[Change]
|
||||
- The option 'onafter' is now called 'onAfter'.
|
||||
[Feature]
|
||||
- Two axes can be scrolled together, this is set with the option 'axis'.
|
||||
- In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other.
|
||||
- There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends.
|
||||
1.4.2
|
||||
[Feature]
|
||||
- The plugin support percentages as target ('50%' or {top:'50%', left:'45%'})
|
||||
- Exposed the max() calculation as $.scrollTo.max
|
||||
[Enhancement]
|
||||
- Renamed $.fn.scrollable to $.fn._scrollable to avoid conflicts with other plugins
|
||||
[Fix]
|
||||
- Fixing max calculations for regular DOM elements
|
||||
|
||||
1.4.1
|
||||
[Feature]
|
||||
- The target can be 'max' to scroll to the end while keeping it elegant.
|
||||
[Enhancement]
|
||||
- Default duration is 0 for jquery +1.3. Means sync animation
|
||||
- The plugin works on all major browsers, on compat & quirks modes, including iframes.
|
||||
- In addition to window/document, if html or body are received, the plugin will choose the right one.
|
||||
[Fix]
|
||||
- The plugin accepts floating numbers, Thanks Ramin
|
||||
- Using jQuery.nodeName where neccessary so that this works on xml+xhtml
|
||||
- The max() internal function wasn't completely accurrate, now it is 98% (except for IE on quirks mode and it's not too noticeable).
|
||||
|
||||
1.4
|
||||
[Fix]
|
||||
- Fixed the problem when scrolling the window to absolute positioned elements on Safari.
|
||||
- Fixed the problem on Opera 9.5 when scrolling the window. That it always scrolls to 0.
|
||||
[Feature]
|
||||
- Added the settings object as 2nd argument to the onAfter callback.
|
||||
- The 3rd argument of scrollTo can be just a function and it's used as the onAfter.
|
||||
- Added full support for iframes (even max scroll calculation).
|
||||
- Instead of $.scrollTo, $(window).scrollTo() and $(document).scrollTo() can be used.
|
||||
- Added $().scrollable() that returns the real element to scroll, f.e: $(window).scrollable() == [body|html], works for iframes.
|
||||
[Enhancement]
|
||||
- Cleaned the code a bit, specially the comments
|
||||
|
||||
1.3.3
|
||||
[Change]
|
||||
- Changed the licensing from GPL to GPL+MIT.
|
||||
|
||||
1.3.2
|
||||
[Enhancement]
|
||||
- Small improvements to make the code shorter.
|
||||
[Change]
|
||||
- Removed the last argument received by onAfter as it was the same as the 'this' but jqueryfied.
|
||||
|
||||
1.3.1
|
||||
[Feature]
|
||||
- Exposed $.scrollTo.window() to get the element that needs to be animated, to scroll the window.
|
||||
- Added option 'over'.
|
||||
[Enhancement]
|
||||
- Made the code as short as possible.
|
||||
[Change]
|
||||
- Changed the arguments received by onAfter
|
||||
|
||||
1.3
|
||||
[Enhancement]
|
||||
- Added semicolon to the start, for safe file concatenation
|
||||
- Added a limit check, values below 0 or over the maximum are fixed.
|
||||
- Now it should work faster, only one of html or body go through all the processing, instead of both for all browsers.
|
||||
[Fix]
|
||||
- Fixed the behavior for Opera, which seemed to react to both changes on <html> and <body>.
|
||||
- The border is also reduced, when 'margin' is set to true.
|
||||
[Change]
|
||||
- The option speed has been renamed to duration.
|
||||
[Feature]
|
||||
- The duration can be specified with a number as 2nd argument, and the rest of the settings as the third ( like $().animate )
|
||||
- Remade the demo
|
||||
|
||||
1.2.4
|
||||
[Enhancement]
|
||||
- The target can be in the form of { top:x, left:y } allowing different position for each axis.
|
||||
[Feature]
|
||||
- The option 'offset' has been added, to scroll behind or past the target. Can be a number(both axes) or { top:x, left:y }.
|
||||
|
||||
1.2.3
|
||||
[Feature]
|
||||
- Exposed the defaults.
|
||||
[Enhancement]
|
||||
- Made the callback functions receive more parameters.
|
||||
|
||||
1.2.2
|
||||
[Fix]
|
||||
- Fixed a bug, I didn't have to add the scrolled amount if it was body or html.
|
||||
|
||||
1.2
|
||||
[Change]
|
||||
- The option 'onafter' is now called 'onAfter'.
|
||||
[Feature]
|
||||
- Two axes can be scrolled together, this is set with the option 'axis'.
|
||||
- In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other.
|
||||
- There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends.
|
||||
- If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value).
|
||||
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
* jQuery.ScrollTo - Easy element scrolling using jQuery.
|
||||
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
|
||||
* Dual licensed under MIT and GPL.
|
||||
* Date: 5/25/2009
|
||||
* @author Ariel Flesler
|
||||
* @version 1.4.2
|
||||
*
|
||||
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
|
||||
*/
|
||||
/**
|
||||
* jQuery.ScrollTo - Easy element scrolling using jQuery.
|
||||
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
|
||||
* Dual licensed under MIT and GPL.
|
||||
* Date: 5/25/2009
|
||||
* @author Ariel Flesler
|
||||
* @version 1.4.2
|
||||
*
|
||||
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
|
||||
*/
|
||||
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);
|
||||
@@ -1,215 +1,215 @@
|
||||
/**
|
||||
* jQuery.ScrollTo
|
||||
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
|
||||
* Dual licensed under MIT and GPL.
|
||||
* Date: 5/25/2009
|
||||
*
|
||||
* @projectDescription Easy element scrolling using jQuery.
|
||||
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
|
||||
* Works with jQuery +1.2.6. Tested on FF 2/3, IE 6/7/8, Opera 9.5/6, Safari 3, Chrome 1 on WinXP.
|
||||
*
|
||||
* @author Ariel Flesler
|
||||
* @version 1.4.2
|
||||
*
|
||||
* @id jQuery.scrollTo
|
||||
* @id jQuery.fn.scrollTo
|
||||
* @param {String, Number, DOMElement, jQuery, Object} target Where to scroll the matched elements.
|
||||
* The different options for target are:
|
||||
* - A number position (will be applied to all axes).
|
||||
* - A string position ('44', '100px', '+=90', etc ) will be applied to all axes
|
||||
* - A jQuery/DOM element ( logically, child of the element to scroll )
|
||||
* - A string selector, that will be relative to the element to scroll ( 'li:eq(2)', etc )
|
||||
* - A hash { top:x, left:y }, x and y can be any kind of number/string like above.
|
||||
* - A percentage of the container's dimension/s, for example: 50% to go to the middle.
|
||||
* - The string 'max' for go-to-end.
|
||||
* @param {Number} duration The OVERALL length of the animation, this argument can be the settings object instead.
|
||||
* @param {Object,Function} settings Optional set of settings or the onAfter callback.
|
||||
* @option {String} axis Which axis must be scrolled, use 'x', 'y', 'xy' or 'yx'.
|
||||
* @option {Number} duration The OVERALL length of the animation.
|
||||
* @option {String} easing The easing method for the animation.
|
||||
* @option {Boolean} margin If true, the margin of the target element will be deducted from the final position.
|
||||
* @option {Object, Number} offset Add/deduct from the end position. One number for both axes or { top:x, left:y }.
|
||||
* @option {Object, Number} over Add/deduct the height/width multiplied by 'over', can be { top:x, left:y } when using both axes.
|
||||
* @option {Boolean} queue If true, and both axis are given, the 2nd axis will only be animated after the first one ends.
|
||||
* @option {Function} onAfter Function to be called after the scrolling ends.
|
||||
* @option {Function} onAfterFirst If queuing is activated, this function will be called after the first scrolling ends.
|
||||
* @return {jQuery} Returns the same jQuery object, for chaining.
|
||||
*
|
||||
* @desc Scroll to a fixed position
|
||||
* @example $('div').scrollTo( 340 );
|
||||
*
|
||||
* @desc Scroll relatively to the actual position
|
||||
* @example $('div').scrollTo( '+=340px', { axis:'y' } );
|
||||
*
|
||||
* @dec Scroll using a selector (relative to the scrolled element)
|
||||
* @example $('div').scrollTo( 'p.paragraph:eq(2)', 500, { easing:'swing', queue:true, axis:'xy' } );
|
||||
*
|
||||
* @ Scroll to a DOM element (same for jQuery object)
|
||||
* @example var second_child = document.getElementById('container').firstChild.nextSibling;
|
||||
* $('#container').scrollTo( second_child, { duration:500, axis:'x', onAfter:function(){
|
||||
* alert('scrolled!!');
|
||||
* }});
|
||||
*
|
||||
* @desc Scroll on both axes, to different values
|
||||
* @example $('div').scrollTo( { top: 300, left:'+=200' }, { axis:'xy', offset:-20 } );
|
||||
*/
|
||||
;(function( $ ){
|
||||
|
||||
var $scrollTo = $.scrollTo = function( target, duration, settings ){
|
||||
$(window).scrollTo( target, duration, settings );
|
||||
};
|
||||
|
||||
$scrollTo.defaults = {
|
||||
axis:'xy',
|
||||
duration: parseFloat($.fn.jquery) >= 1.3 ? 0 : 1
|
||||
};
|
||||
|
||||
// Returns the element that needs to be animated to scroll the window.
|
||||
// Kept for backwards compatibility (specially for localScroll & serialScroll)
|
||||
$scrollTo.window = function( scope ){
|
||||
return $(window)._scrollable();
|
||||
};
|
||||
|
||||
// Hack, hack, hack :)
|
||||
// Returns the real elements to scroll (supports window/iframes, documents and regular nodes)
|
||||
$.fn._scrollable = function(){
|
||||
return this.map(function(){
|
||||
var elem = this,
|
||||
isWin = !elem.nodeName || $.inArray( elem.nodeName.toLowerCase(), ['iframe','#document','html','body'] ) != -1;
|
||||
|
||||
if( !isWin )
|
||||
return elem;
|
||||
|
||||
var doc = (elem.contentWindow || elem).document || elem.ownerDocument || elem;
|
||||
|
||||
return $.browser.safari || doc.compatMode == 'BackCompat' ?
|
||||
doc.body :
|
||||
doc.documentElement;
|
||||
});
|
||||
};
|
||||
|
||||
$.fn.scrollTo = function( target, duration, settings ){
|
||||
if( typeof duration == 'object' ){
|
||||
settings = duration;
|
||||
duration = 0;
|
||||
}
|
||||
if( typeof settings == 'function' )
|
||||
settings = { onAfter:settings };
|
||||
|
||||
if( target == 'max' )
|
||||
target = 9e9;
|
||||
|
||||
settings = $.extend( {}, $scrollTo.defaults, settings );
|
||||
// Speed is still recognized for backwards compatibility
|
||||
duration = duration || settings.speed || settings.duration;
|
||||
// Make sure the settings are given right
|
||||
settings.queue = settings.queue && settings.axis.length > 1;
|
||||
|
||||
if( settings.queue )
|
||||
// Let's keep the overall duration
|
||||
duration /= 2;
|
||||
settings.offset = both( settings.offset );
|
||||
settings.over = both( settings.over );
|
||||
|
||||
return this._scrollable().each(function(){
|
||||
var elem = this,
|
||||
$elem = $(elem),
|
||||
targ = target, toff, attr = {},
|
||||
win = $elem.is('html,body');
|
||||
|
||||
switch( typeof targ ){
|
||||
// A number will pass the regex
|
||||
case 'number':
|
||||
case 'string':
|
||||
if( /^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(targ) ){
|
||||
targ = both( targ );
|
||||
// We are done
|
||||
break;
|
||||
}
|
||||
// Relative selector, no break!
|
||||
targ = $(targ,this);
|
||||
case 'object':
|
||||
// DOMElement / jQuery
|
||||
if( targ.is || targ.style )
|
||||
// Get the real position of the target
|
||||
toff = (targ = $(targ)).offset();
|
||||
}
|
||||
$.each( settings.axis.split(''), function( i, axis ){
|
||||
var Pos = axis == 'x' ? 'Left' : 'Top',
|
||||
pos = Pos.toLowerCase(),
|
||||
key = 'scroll' + Pos,
|
||||
old = elem[key],
|
||||
max = $scrollTo.max(elem, axis);
|
||||
|
||||
if( toff ){// jQuery / DOMElement
|
||||
attr[key] = toff[pos] + ( win ? 0 : old - $elem.offset()[pos] );
|
||||
|
||||
// If it's a dom element, reduce the margin
|
||||
if( settings.margin ){
|
||||
attr[key] -= parseInt(targ.css('margin'+Pos)) || 0;
|
||||
attr[key] -= parseInt(targ.css('border'+Pos+'Width')) || 0;
|
||||
}
|
||||
|
||||
attr[key] += settings.offset[pos] || 0;
|
||||
|
||||
if( settings.over[pos] )
|
||||
// Scroll to a fraction of its width/height
|
||||
attr[key] += targ[axis=='x'?'width':'height']() * settings.over[pos];
|
||||
}else{
|
||||
var val = targ[pos];
|
||||
// Handle percentage values
|
||||
attr[key] = val.slice && val.slice(-1) == '%' ?
|
||||
parseFloat(val) / 100 * max
|
||||
: val;
|
||||
}
|
||||
|
||||
// Number or 'number'
|
||||
if( /^\d+$/.test(attr[key]) )
|
||||
// Check the limits
|
||||
attr[key] = attr[key] <= 0 ? 0 : Math.min( attr[key], max );
|
||||
|
||||
// Queueing axes
|
||||
if( !i && settings.queue ){
|
||||
// Don't waste time animating, if there's no need.
|
||||
if( old != attr[key] )
|
||||
// Intermediate animation
|
||||
animate( settings.onAfterFirst );
|
||||
// Don't animate this axis again in the next iteration.
|
||||
delete attr[key];
|
||||
}
|
||||
});
|
||||
|
||||
animate( settings.onAfter );
|
||||
|
||||
function animate( callback ){
|
||||
$elem.animate( attr, duration, settings.easing, callback && function(){
|
||||
callback.call(this, target, settings);
|
||||
});
|
||||
};
|
||||
|
||||
}).end();
|
||||
};
|
||||
|
||||
// Max scrolling position, works on quirks mode
|
||||
// It only fails (not too badly) on IE, quirks mode.
|
||||
$scrollTo.max = function( elem, axis ){
|
||||
var Dim = axis == 'x' ? 'Width' : 'Height',
|
||||
scroll = 'scroll'+Dim;
|
||||
|
||||
if( !$(elem).is('html,body') )
|
||||
return elem[scroll] - $(elem)[Dim.toLowerCase()]();
|
||||
|
||||
var size = 'client' + Dim,
|
||||
html = elem.ownerDocument.documentElement,
|
||||
body = elem.ownerDocument.body;
|
||||
|
||||
return Math.max( html[scroll], body[scroll] )
|
||||
- Math.min( html[size] , body[size] );
|
||||
|
||||
};
|
||||
|
||||
function both( val ){
|
||||
return typeof val == 'object' ? val : { top:val, left:val };
|
||||
};
|
||||
|
||||
/**
|
||||
* jQuery.ScrollTo
|
||||
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
|
||||
* Dual licensed under MIT and GPL.
|
||||
* Date: 5/25/2009
|
||||
*
|
||||
* @projectDescription Easy element scrolling using jQuery.
|
||||
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
|
||||
* Works with jQuery +1.2.6. Tested on FF 2/3, IE 6/7/8, Opera 9.5/6, Safari 3, Chrome 1 on WinXP.
|
||||
*
|
||||
* @author Ariel Flesler
|
||||
* @version 1.4.2
|
||||
*
|
||||
* @id jQuery.scrollTo
|
||||
* @id jQuery.fn.scrollTo
|
||||
* @param {String, Number, DOMElement, jQuery, Object} target Where to scroll the matched elements.
|
||||
* The different options for target are:
|
||||
* - A number position (will be applied to all axes).
|
||||
* - A string position ('44', '100px', '+=90', etc ) will be applied to all axes
|
||||
* - A jQuery/DOM element ( logically, child of the element to scroll )
|
||||
* - A string selector, that will be relative to the element to scroll ( 'li:eq(2)', etc )
|
||||
* - A hash { top:x, left:y }, x and y can be any kind of number/string like above.
|
||||
* - A percentage of the container's dimension/s, for example: 50% to go to the middle.
|
||||
* - The string 'max' for go-to-end.
|
||||
* @param {Number} duration The OVERALL length of the animation, this argument can be the settings object instead.
|
||||
* @param {Object,Function} settings Optional set of settings or the onAfter callback.
|
||||
* @option {String} axis Which axis must be scrolled, use 'x', 'y', 'xy' or 'yx'.
|
||||
* @option {Number} duration The OVERALL length of the animation.
|
||||
* @option {String} easing The easing method for the animation.
|
||||
* @option {Boolean} margin If true, the margin of the target element will be deducted from the final position.
|
||||
* @option {Object, Number} offset Add/deduct from the end position. One number for both axes or { top:x, left:y }.
|
||||
* @option {Object, Number} over Add/deduct the height/width multiplied by 'over', can be { top:x, left:y } when using both axes.
|
||||
* @option {Boolean} queue If true, and both axis are given, the 2nd axis will only be animated after the first one ends.
|
||||
* @option {Function} onAfter Function to be called after the scrolling ends.
|
||||
* @option {Function} onAfterFirst If queuing is activated, this function will be called after the first scrolling ends.
|
||||
* @return {jQuery} Returns the same jQuery object, for chaining.
|
||||
*
|
||||
* @desc Scroll to a fixed position
|
||||
* @example $('div').scrollTo( 340 );
|
||||
*
|
||||
* @desc Scroll relatively to the actual position
|
||||
* @example $('div').scrollTo( '+=340px', { axis:'y' } );
|
||||
*
|
||||
* @dec Scroll using a selector (relative to the scrolled element)
|
||||
* @example $('div').scrollTo( 'p.paragraph:eq(2)', 500, { easing:'swing', queue:true, axis:'xy' } );
|
||||
*
|
||||
* @ Scroll to a DOM element (same for jQuery object)
|
||||
* @example var second_child = document.getElementById('container').firstChild.nextSibling;
|
||||
* $('#container').scrollTo( second_child, { duration:500, axis:'x', onAfter:function(){
|
||||
* alert('scrolled!!');
|
||||
* }});
|
||||
*
|
||||
* @desc Scroll on both axes, to different values
|
||||
* @example $('div').scrollTo( { top: 300, left:'+=200' }, { axis:'xy', offset:-20 } );
|
||||
*/
|
||||
;(function( $ ){
|
||||
|
||||
var $scrollTo = $.scrollTo = function( target, duration, settings ){
|
||||
$(window).scrollTo( target, duration, settings );
|
||||
};
|
||||
|
||||
$scrollTo.defaults = {
|
||||
axis:'xy',
|
||||
duration: parseFloat($.fn.jquery) >= 1.3 ? 0 : 1
|
||||
};
|
||||
|
||||
// Returns the element that needs to be animated to scroll the window.
|
||||
// Kept for backwards compatibility (specially for localScroll & serialScroll)
|
||||
$scrollTo.window = function( scope ){
|
||||
return $(window)._scrollable();
|
||||
};
|
||||
|
||||
// Hack, hack, hack :)
|
||||
// Returns the real elements to scroll (supports window/iframes, documents and regular nodes)
|
||||
$.fn._scrollable = function(){
|
||||
return this.map(function(){
|
||||
var elem = this,
|
||||
isWin = !elem.nodeName || $.inArray( elem.nodeName.toLowerCase(), ['iframe','#document','html','body'] ) != -1;
|
||||
|
||||
if( !isWin )
|
||||
return elem;
|
||||
|
||||
var doc = (elem.contentWindow || elem).document || elem.ownerDocument || elem;
|
||||
|
||||
return $.browser.safari || doc.compatMode == 'BackCompat' ?
|
||||
doc.body :
|
||||
doc.documentElement;
|
||||
});
|
||||
};
|
||||
|
||||
$.fn.scrollTo = function( target, duration, settings ){
|
||||
if( typeof duration == 'object' ){
|
||||
settings = duration;
|
||||
duration = 0;
|
||||
}
|
||||
if( typeof settings == 'function' )
|
||||
settings = { onAfter:settings };
|
||||
|
||||
if( target == 'max' )
|
||||
target = 9e9;
|
||||
|
||||
settings = $.extend( {}, $scrollTo.defaults, settings );
|
||||
// Speed is still recognized for backwards compatibility
|
||||
duration = duration || settings.speed || settings.duration;
|
||||
// Make sure the settings are given right
|
||||
settings.queue = settings.queue && settings.axis.length > 1;
|
||||
|
||||
if( settings.queue )
|
||||
// Let's keep the overall duration
|
||||
duration /= 2;
|
||||
settings.offset = both( settings.offset );
|
||||
settings.over = both( settings.over );
|
||||
|
||||
return this._scrollable().each(function(){
|
||||
var elem = this,
|
||||
$elem = $(elem),
|
||||
targ = target, toff, attr = {},
|
||||
win = $elem.is('html,body');
|
||||
|
||||
switch( typeof targ ){
|
||||
// A number will pass the regex
|
||||
case 'number':
|
||||
case 'string':
|
||||
if( /^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(targ) ){
|
||||
targ = both( targ );
|
||||
// We are done
|
||||
break;
|
||||
}
|
||||
// Relative selector, no break!
|
||||
targ = $(targ,this);
|
||||
case 'object':
|
||||
// DOMElement / jQuery
|
||||
if( targ.is || targ.style )
|
||||
// Get the real position of the target
|
||||
toff = (targ = $(targ)).offset();
|
||||
}
|
||||
$.each( settings.axis.split(''), function( i, axis ){
|
||||
var Pos = axis == 'x' ? 'Left' : 'Top',
|
||||
pos = Pos.toLowerCase(),
|
||||
key = 'scroll' + Pos,
|
||||
old = elem[key],
|
||||
max = $scrollTo.max(elem, axis);
|
||||
|
||||
if( toff ){// jQuery / DOMElement
|
||||
attr[key] = toff[pos] + ( win ? 0 : old - $elem.offset()[pos] );
|
||||
|
||||
// If it's a dom element, reduce the margin
|
||||
if( settings.margin ){
|
||||
attr[key] -= parseInt(targ.css('margin'+Pos)) || 0;
|
||||
attr[key] -= parseInt(targ.css('border'+Pos+'Width')) || 0;
|
||||
}
|
||||
|
||||
attr[key] += settings.offset[pos] || 0;
|
||||
|
||||
if( settings.over[pos] )
|
||||
// Scroll to a fraction of its width/height
|
||||
attr[key] += targ[axis=='x'?'width':'height']() * settings.over[pos];
|
||||
}else{
|
||||
var val = targ[pos];
|
||||
// Handle percentage values
|
||||
attr[key] = val.slice && val.slice(-1) == '%' ?
|
||||
parseFloat(val) / 100 * max
|
||||
: val;
|
||||
}
|
||||
|
||||
// Number or 'number'
|
||||
if( /^\d+$/.test(attr[key]) )
|
||||
// Check the limits
|
||||
attr[key] = attr[key] <= 0 ? 0 : Math.min( attr[key], max );
|
||||
|
||||
// Queueing axes
|
||||
if( !i && settings.queue ){
|
||||
// Don't waste time animating, if there's no need.
|
||||
if( old != attr[key] )
|
||||
// Intermediate animation
|
||||
animate( settings.onAfterFirst );
|
||||
// Don't animate this axis again in the next iteration.
|
||||
delete attr[key];
|
||||
}
|
||||
});
|
||||
|
||||
animate( settings.onAfter );
|
||||
|
||||
function animate( callback ){
|
||||
$elem.animate( attr, duration, settings.easing, callback && function(){
|
||||
callback.call(this, target, settings);
|
||||
});
|
||||
};
|
||||
|
||||
}).end();
|
||||
};
|
||||
|
||||
// Max scrolling position, works on quirks mode
|
||||
// It only fails (not too badly) on IE, quirks mode.
|
||||
$scrollTo.max = function( elem, axis ){
|
||||
var Dim = axis == 'x' ? 'Width' : 'Height',
|
||||
scroll = 'scroll'+Dim;
|
||||
|
||||
if( !$(elem).is('html,body') )
|
||||
return elem[scroll] - $(elem)[Dim.toLowerCase()]();
|
||||
|
||||
var size = 'client' + Dim,
|
||||
html = elem.ownerDocument.documentElement,
|
||||
body = elem.ownerDocument.body;
|
||||
|
||||
return Math.max( html[scroll], body[scroll] )
|
||||
- Math.min( html[size] , body[size] );
|
||||
|
||||
};
|
||||
|
||||
function both( val ){
|
||||
return typeof val == 'object' ? val : { top:val, left:val };
|
||||
};
|
||||
|
||||
})( jQuery );
|
||||
@@ -1,12 +1,12 @@
|
||||
$(document).ready(function(){
|
||||
/* This code is executed after the DOM has been completely loaded */
|
||||
|
||||
$('nav a,footer a.up').click(function(e){
|
||||
|
||||
// If a link has been clicked, scroll the page to the link's hash target:
|
||||
|
||||
$.scrollTo( this.hash || 0, 1500);
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$(document).ready(function(){
|
||||
/* This code is executed after the DOM has been completely loaded */
|
||||
|
||||
$('nav a,footer a.up').click(function(e){
|
||||
|
||||
// If a link has been clicked, scroll the page to the link's hash target:
|
||||
|
||||
$.scrollTo( this.hash || 0, 1500);
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
});
|
||||
@@ -1,219 +1,219 @@
|
||||
*{
|
||||
/* Universal reset: */
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
header,footer,
|
||||
article,section,
|
||||
hgroup,nav,
|
||||
figure{
|
||||
/* Giving a display value to the HTML5 rendered elements: */
|
||||
display:block;
|
||||
}
|
||||
|
||||
body{
|
||||
/* Setting the default text color, size, page background and a font stack: */
|
||||
font-size:0.825em;
|
||||
color:#fcfcfc;
|
||||
background-color:#355664;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
/* Hyperlink Styles: */
|
||||
|
||||
a, a:visited {
|
||||
color:#0196e3;
|
||||
text-decoration:none;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a img{
|
||||
border:none;
|
||||
}
|
||||
|
||||
/* Headings: */
|
||||
|
||||
h1,h2,h3{
|
||||
font-family:"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
|
||||
text-shadow:0 1px 1px black;
|
||||
}
|
||||
|
||||
h1{
|
||||
/* The logo text */
|
||||
font-size:3.5em;
|
||||
padding:0.5em 0 0;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
h3{
|
||||
/* The slogan text */
|
||||
font-family:forte,"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
|
||||
font-size:2em;
|
||||
font-weight:normal;
|
||||
margin:0 0 1em;
|
||||
}
|
||||
|
||||
|
||||
h2{
|
||||
font-size:2.2em;
|
||||
font-weight:normal;
|
||||
letter-spacing:0.01em;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
p{
|
||||
line-height:1.5em;
|
||||
padding-bottom:1em;
|
||||
}
|
||||
|
||||
.line{
|
||||
/* The dividing line: */
|
||||
height:1px;
|
||||
background-color:#24404c;
|
||||
border-bottom:1px solid #416371;
|
||||
margin:1em 0;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
article .line{
|
||||
/* The dividing line inside of the article is darker: */
|
||||
background-color:#15242a;
|
||||
border-bottom-color:#204656;
|
||||
margin:1.3em 0;
|
||||
}
|
||||
|
||||
footer .line{
|
||||
margin:2em 0;
|
||||
}
|
||||
|
||||
nav{
|
||||
background:url(img/gradient_light.jpg) repeat-x 50% 50% #f8f8f8;
|
||||
padding:0 5px;
|
||||
position:absolute;
|
||||
right:0;
|
||||
top:4em;
|
||||
|
||||
border:1px solid #FCFCFC;
|
||||
|
||||
-moz-box-shadow:0 1px 1px #333333;
|
||||
-webkit-box-shadow:0 1px 1px #333333;
|
||||
box-shadow:0 1px 1px #333333;
|
||||
}
|
||||
|
||||
/* The clearfix hack to clear the floats: */
|
||||
|
||||
.clear:after{
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/* The navigation styling: */
|
||||
|
||||
nav ul li{
|
||||
display:inline;
|
||||
}
|
||||
|
||||
nav ul li a,
|
||||
nav ul li a:visited{
|
||||
color:#565656;
|
||||
display:block;
|
||||
float:left;
|
||||
font-size:1.25em;
|
||||
font-weight:bold;
|
||||
margin:5px 2px;
|
||||
padding:7px 10px 4px;
|
||||
text-shadow:0 1px 1px white;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
nav ul li a:hover{
|
||||
text-decoration:none;
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
|
||||
nav, article, nav ul li a,figure{
|
||||
/* Applying CSS3 rounded corners: */
|
||||
-moz-border-radius:10px;
|
||||
-webkit-border-radius:10px;
|
||||
border-radius:10px;
|
||||
}
|
||||
|
||||
/* Article styles: */
|
||||
|
||||
#page{
|
||||
width:960px;
|
||||
margin:0 auto;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
article{
|
||||
background-color:#213E4A;
|
||||
margin:3em 0;
|
||||
padding:20px;
|
||||
|
||||
text-shadow:0 2px 0 black;
|
||||
}
|
||||
|
||||
figure{
|
||||
border:3px solid #142830;
|
||||
float:right;
|
||||
height:300px;
|
||||
margin-left:15px;
|
||||
overflow:hidden;
|
||||
width:500px;
|
||||
}
|
||||
|
||||
figure:hover{
|
||||
-moz-box-shadow:0 0 2px #4D7788;
|
||||
-webkit-box-shadow:0 0 2px #4D7788;
|
||||
box-shadow:0 0 2px #4D7788;
|
||||
}
|
||||
|
||||
figure img{
|
||||
margin-left:-60px;
|
||||
}
|
||||
|
||||
/* Footer styling: */
|
||||
|
||||
footer{
|
||||
margin-bottom:30px;
|
||||
text-align:center;
|
||||
font-size:0.825em;
|
||||
}
|
||||
|
||||
|
||||
footer p{
|
||||
margin-bottom:-2.5em;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
footer a,footer a:visited{
|
||||
color:#cccccc;
|
||||
background-color:#213e4a;
|
||||
display:block;
|
||||
padding:2px 4px;
|
||||
z-index:100;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
footer a:hover{
|
||||
text-decoration:none;
|
||||
background-color:#142830;
|
||||
}
|
||||
|
||||
footer a.by{
|
||||
float:left;
|
||||
|
||||
}
|
||||
|
||||
footer a.up{
|
||||
float:right;
|
||||
}
|
||||
*{
|
||||
/* Universal reset: */
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
header,footer,
|
||||
article,section,
|
||||
hgroup,nav,
|
||||
figure{
|
||||
/* Giving a display value to the HTML5 rendered elements: */
|
||||
display:block;
|
||||
}
|
||||
|
||||
body{
|
||||
/* Setting the default text color, size, page background and a font stack: */
|
||||
font-size:0.825em;
|
||||
color:#fcfcfc;
|
||||
background-color:#355664;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
/* Hyperlink Styles: */
|
||||
|
||||
a, a:visited {
|
||||
color:#0196e3;
|
||||
text-decoration:none;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a img{
|
||||
border:none;
|
||||
}
|
||||
|
||||
/* Headings: */
|
||||
|
||||
h1,h2,h3{
|
||||
font-family:"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
|
||||
text-shadow:0 1px 1px black;
|
||||
}
|
||||
|
||||
h1{
|
||||
/* The logo text */
|
||||
font-size:3.5em;
|
||||
padding:0.5em 0 0;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
h3{
|
||||
/* The slogan text */
|
||||
font-family:forte,"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
|
||||
font-size:2em;
|
||||
font-weight:normal;
|
||||
margin:0 0 1em;
|
||||
}
|
||||
|
||||
|
||||
h2{
|
||||
font-size:2.2em;
|
||||
font-weight:normal;
|
||||
letter-spacing:0.01em;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
p{
|
||||
line-height:1.5em;
|
||||
padding-bottom:1em;
|
||||
}
|
||||
|
||||
.line{
|
||||
/* The dividing line: */
|
||||
height:1px;
|
||||
background-color:#24404c;
|
||||
border-bottom:1px solid #416371;
|
||||
margin:1em 0;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
article .line{
|
||||
/* The dividing line inside of the article is darker: */
|
||||
background-color:#15242a;
|
||||
border-bottom-color:#204656;
|
||||
margin:1.3em 0;
|
||||
}
|
||||
|
||||
footer .line{
|
||||
margin:2em 0;
|
||||
}
|
||||
|
||||
nav{
|
||||
background:url(img/gradient_light.jpg) repeat-x 50% 50% #f8f8f8;
|
||||
padding:0 5px;
|
||||
position:absolute;
|
||||
right:0;
|
||||
top:4em;
|
||||
|
||||
border:1px solid #FCFCFC;
|
||||
|
||||
-moz-box-shadow:0 1px 1px #333333;
|
||||
-webkit-box-shadow:0 1px 1px #333333;
|
||||
box-shadow:0 1px 1px #333333;
|
||||
}
|
||||
|
||||
/* The clearfix hack to clear the floats: */
|
||||
|
||||
.clear:after{
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/* The navigation styling: */
|
||||
|
||||
nav ul li{
|
||||
display:inline;
|
||||
}
|
||||
|
||||
nav ul li a,
|
||||
nav ul li a:visited{
|
||||
color:#565656;
|
||||
display:block;
|
||||
float:left;
|
||||
font-size:1.25em;
|
||||
font-weight:bold;
|
||||
margin:5px 2px;
|
||||
padding:7px 10px 4px;
|
||||
text-shadow:0 1px 1px white;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
nav ul li a:hover{
|
||||
text-decoration:none;
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
|
||||
nav, article, nav ul li a,figure{
|
||||
/* Applying CSS3 rounded corners: */
|
||||
-moz-border-radius:10px;
|
||||
-webkit-border-radius:10px;
|
||||
border-radius:10px;
|
||||
}
|
||||
|
||||
/* Article styles: */
|
||||
|
||||
#page{
|
||||
width:960px;
|
||||
margin:0 auto;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
article{
|
||||
background-color:#213E4A;
|
||||
margin:3em 0;
|
||||
padding:20px;
|
||||
|
||||
text-shadow:0 2px 0 black;
|
||||
}
|
||||
|
||||
figure{
|
||||
border:3px solid #142830;
|
||||
float:right;
|
||||
height:300px;
|
||||
margin-left:15px;
|
||||
overflow:hidden;
|
||||
width:500px;
|
||||
}
|
||||
|
||||
figure:hover{
|
||||
-moz-box-shadow:0 0 2px #4D7788;
|
||||
-webkit-box-shadow:0 0 2px #4D7788;
|
||||
box-shadow:0 0 2px #4D7788;
|
||||
}
|
||||
|
||||
figure img{
|
||||
margin-left:-60px;
|
||||
}
|
||||
|
||||
/* Footer styling: */
|
||||
|
||||
footer{
|
||||
margin-bottom:30px;
|
||||
text-align:center;
|
||||
font-size:0.825em;
|
||||
}
|
||||
|
||||
|
||||
footer p{
|
||||
margin-bottom:-2.5em;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
footer a,footer a:visited{
|
||||
color:#cccccc;
|
||||
background-color:#213e4a;
|
||||
display:block;
|
||||
padding:2px 4px;
|
||||
z-index:100;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
footer a:hover{
|
||||
text-decoration:none;
|
||||
background-color:#142830;
|
||||
}
|
||||
|
||||
footer a.by{
|
||||
float:left;
|
||||
|
||||
}
|
||||
|
||||
footer a.up{
|
||||
float:right;
|
||||
}
|
||||
|
||||
@@ -1,139 +1,139 @@
|
||||
<!DOCTYPE html> <!-- The new doctype -->
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<title>Coding A CSS3 & HTML5 One Page Template | Tutorialzine demo</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="styles.css" />
|
||||
|
||||
<!-- Internet Explorer HTML5 enabling code: -->
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
.clear {
|
||||
zoom: 1;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<section id="page"> <!-- Defining the #page section with the section tag -->
|
||||
|
||||
<header> <!-- Defining the header section of the page with the appropriate tag -->
|
||||
|
||||
<hgroup>
|
||||
<h1>Your Logo</h1>
|
||||
<h3>and a fancy slogan</h3>
|
||||
</hgroup>
|
||||
|
||||
<nav class="clear"> <!-- The nav link semantically marks your main site navigation -->
|
||||
<ul>
|
||||
<li><a href="#article1">Photoshoot</a></li>
|
||||
<li><a href="#article2">Sweet Tabs</a></li>
|
||||
<li><a href="#article3">Navigation Menu</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</header>
|
||||
|
||||
<section id="articles"> <!-- A new section with the articles -->
|
||||
|
||||
<!-- Article 1 start -->
|
||||
|
||||
<div class="line"></div> <!-- Dividing line -->
|
||||
|
||||
<article id="article1"> <!-- The new article tag. The id is supplied so it can be scrolled into view. -->
|
||||
<h2>Photoshoot Effect</h2>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="articleBody clear">
|
||||
|
||||
<figure> <!-- The figure tag marks data (usually an image) that is part of the article -->
|
||||
<a href="http://tutorialzine.com/2010/02/photo-shoot-css-jquery/"><img src="http://tutorialzine.com/img/featured/641.jpg" width="620" height="340" /></a>
|
||||
</figure>
|
||||
|
||||
<p>In this tutorial, we are creating a photo shoot effect with our just-released PhotoShoot jQuery plug-in. With it you can convert a regular div on the page into a photo shooting stage simulating a camera-like feel.</p>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer luctus quam quis nibh fringilla sit amet consectetur lectus malesuada. Sed nec libero erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi nisi, rhoncus ut vestibulum ac, sollicitudin quis lorem. Duis felis dui, vulputate nec adipiscing nec, interdum vel tortor. Sed gravida, erat nec rutrum tincidunt, metus mauris imperdiet nunc, et elementum tortor nunc at eros. Donec malesuada congue molestie. Suspendisse potenti. Vestibulum cursus congue sem et feugiat. Morbi quis elit odio. </p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Article 1 end -->
|
||||
|
||||
|
||||
<!-- Article 2 start -->
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<article id="article2">
|
||||
<h2>Sweet AJAX Tabs</h2>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="articleBody clear">
|
||||
<figure>
|
||||
<a href="http://tutorialzine.com/2010/01/sweet-tabs-jquery-ajax-css/"><img src="http://tutorialzine.com/img/featured/633.jpg" width="620" height="340" /></a>
|
||||
</figure>
|
||||
|
||||
<p>Here we are making sweet AJAX-powered tabs with CSS3 and the newly released version 1.4 of jQuery.</p>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer luctus quam quis nibh fringilla sit amet consectetur lectus malesuada. Sed nec libero erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi nisi, rhoncus ut vestibulum ac, sollicitudin quis lorem. Duis felis dui, vulputate nec adipiscing nec, interdum vel tortor. Sed gravida, erat nec rutrum tincidunt, metus mauris imperdiet nunc, et elementum tortor nunc at eros. Donec malesuada congue molestie. Suspendisse potenti. Vestibulum cursus congue sem et feugiat. Morbi quis elit odio. </p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Article 2 end -->
|
||||
|
||||
<!-- Article 3 start -->
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<article id="article3">
|
||||
<h2>Halftone Navigation Menu</h2>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="articleBody clear">
|
||||
<figure>
|
||||
<a href="http://tutorialzine.com/2010/01/halftone-navigation-menu-jquery-css/"><img src="http://tutorialzine.com/img/featured/610.jpg" width="620" height="340" /></a>
|
||||
</figure>
|
||||
|
||||
<p>Today we are making a CSS3 & jQuery halftone-style navigation menu, which will allow you to display animated halftone-style shapes in accordance with the navigation links, and will provide a simple editor for creating additional shapes as well.</p>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer luctus quam quis nibh fringilla sit amet consectetur lectus malesuada. Sed nec libero erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi nisi, rhoncus ut vestibulum ac, sollicitudin quis lorem. Duis felis dui, vulputate nec adipiscing nec, interdum vel tortor. Sed gravida, erat nec rutrum tincidunt, metus mauris imperdiet nunc, et elementum tortor nunc at eros. Donec malesuada congue molestie. Suspendisse potenti. Vestibulum cursus congue sem et feugiat. Morbi quis elit odio. </p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Article 3 end -->
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<footer> <!-- Marking the footer section -->
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<p>Copyright 2010 - YourSite.com</p> <!-- Change the copyright notice -->
|
||||
|
||||
<a href="#" class="up">Go UP</a>
|
||||
<a href="http://tutorialzine.com/2010/02/html5-css3-website-template/" class="by">Template by Tutorialzine</a>
|
||||
|
||||
|
||||
</footer>
|
||||
|
||||
</section> <!-- Closing the #page section -->
|
||||
|
||||
<!-- JavaScript Includes -->
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
|
||||
<script src="jquery.scrollTo-1.4.2/jquery.scrollTo-min.js"></script>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html> <!-- The new doctype -->
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<title>Coding A CSS3 & HTML5 One Page Template | Tutorialzine demo</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="styles.css" />
|
||||
|
||||
<!-- Internet Explorer HTML5 enabling code: -->
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
.clear {
|
||||
zoom: 1;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<section id="page"> <!-- Defining the #page section with the section tag -->
|
||||
|
||||
<header> <!-- Defining the header section of the page with the appropriate tag -->
|
||||
|
||||
<hgroup>
|
||||
<h1>Your Logo</h1>
|
||||
<h3>and a fancy slogan</h3>
|
||||
</hgroup>
|
||||
|
||||
<nav class="clear"> <!-- The nav link semantically marks your main site navigation -->
|
||||
<ul>
|
||||
<li><a href="#article1">Photoshoot</a></li>
|
||||
<li><a href="#article2">Sweet Tabs</a></li>
|
||||
<li><a href="#article3">Navigation Menu</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</header>
|
||||
|
||||
<section id="articles"> <!-- A new section with the articles -->
|
||||
|
||||
<!-- Article 1 start -->
|
||||
|
||||
<div class="line"></div> <!-- Dividing line -->
|
||||
|
||||
<article id="article1"> <!-- The new article tag. The id is supplied so it can be scrolled into view. -->
|
||||
<h2>Photoshoot Effect</h2>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="articleBody clear">
|
||||
|
||||
<figure> <!-- The figure tag marks data (usually an image) that is part of the article -->
|
||||
<a href="http://tutorialzine.com/2010/02/photo-shoot-css-jquery/"><img src="http://tutorialzine.com/img/featured/641.jpg" width="620" height="340" /></a>
|
||||
</figure>
|
||||
|
||||
<p>In this tutorial, we are creating a photo shoot effect with our just-released PhotoShoot jQuery plug-in. With it you can convert a regular div on the page into a photo shooting stage simulating a camera-like feel.</p>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer luctus quam quis nibh fringilla sit amet consectetur lectus malesuada. Sed nec libero erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi nisi, rhoncus ut vestibulum ac, sollicitudin quis lorem. Duis felis dui, vulputate nec adipiscing nec, interdum vel tortor. Sed gravida, erat nec rutrum tincidunt, metus mauris imperdiet nunc, et elementum tortor nunc at eros. Donec malesuada congue molestie. Suspendisse potenti. Vestibulum cursus congue sem et feugiat. Morbi quis elit odio. </p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Article 1 end -->
|
||||
|
||||
|
||||
<!-- Article 2 start -->
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<article id="article2">
|
||||
<h2>Sweet AJAX Tabs</h2>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="articleBody clear">
|
||||
<figure>
|
||||
<a href="http://tutorialzine.com/2010/01/sweet-tabs-jquery-ajax-css/"><img src="http://tutorialzine.com/img/featured/633.jpg" width="620" height="340" /></a>
|
||||
</figure>
|
||||
|
||||
<p>Here we are making sweet AJAX-powered tabs with CSS3 and the newly released version 1.4 of jQuery.</p>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer luctus quam quis nibh fringilla sit amet consectetur lectus malesuada. Sed nec libero erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi nisi, rhoncus ut vestibulum ac, sollicitudin quis lorem. Duis felis dui, vulputate nec adipiscing nec, interdum vel tortor. Sed gravida, erat nec rutrum tincidunt, metus mauris imperdiet nunc, et elementum tortor nunc at eros. Donec malesuada congue molestie. Suspendisse potenti. Vestibulum cursus congue sem et feugiat. Morbi quis elit odio. </p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Article 2 end -->
|
||||
|
||||
<!-- Article 3 start -->
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<article id="article3">
|
||||
<h2>Halftone Navigation Menu</h2>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="articleBody clear">
|
||||
<figure>
|
||||
<a href="http://tutorialzine.com/2010/01/halftone-navigation-menu-jquery-css/"><img src="http://tutorialzine.com/img/featured/610.jpg" width="620" height="340" /></a>
|
||||
</figure>
|
||||
|
||||
<p>Today we are making a CSS3 & jQuery halftone-style navigation menu, which will allow you to display animated halftone-style shapes in accordance with the navigation links, and will provide a simple editor for creating additional shapes as well.</p>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer luctus quam quis nibh fringilla sit amet consectetur lectus malesuada. Sed nec libero erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi nisi, rhoncus ut vestibulum ac, sollicitudin quis lorem. Duis felis dui, vulputate nec adipiscing nec, interdum vel tortor. Sed gravida, erat nec rutrum tincidunt, metus mauris imperdiet nunc, et elementum tortor nunc at eros. Donec malesuada congue molestie. Suspendisse potenti. Vestibulum cursus congue sem et feugiat. Morbi quis elit odio. </p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- Article 3 end -->
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<footer> <!-- Marking the footer section -->
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<p>Copyright 2010 - YourSite.com</p> <!-- Change the copyright notice -->
|
||||
|
||||
<a href="#" class="up">Go UP</a>
|
||||
<a href="http://tutorialzine.com/2010/02/html5-css3-website-template/" class="by">Template by Tutorialzine</a>
|
||||
|
||||
|
||||
</footer>
|
||||
|
||||
</section> <!-- Closing the #page section -->
|
||||
|
||||
<!-- JavaScript Includes -->
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
|
||||
<script src="jquery.scrollTo-1.4.2/jquery.scrollTo-min.js"></script>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
<!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=utf-8" />
|
||||
<title>Halftone Navigation Menu With jQuery & CSS3 | Tutorialzine demo</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="styles.css" />
|
||||
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Halftone Navigation Menu With jQuery & CSS3</h1>
|
||||
<h2>View the <a href="http://tutorialzine.com/2010/01/halftone-navigation-menu-jquery-css/">original tutorial »</a></h2>
|
||||
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="navigation">
|
||||
<ul class="menuUL">
|
||||
<!-- The class names that are assigned to the links correspond to name of the shape that is shown on hover: -->
|
||||
<li><a href="#" class="house">Home</a></li>
|
||||
<li><a href="#" class="wrench">Services</a></li>
|
||||
<li><a href="#" class="envelope">Contact</a></li>
|
||||
<li><a href="#" class="info">About</a></li>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="stage">
|
||||
<!-- The dot divs are shown here -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="tutInfo">This is a tutorialzine demo. View the <a href="http://tutorialzine.com/2010/01/halftone-navigation-menu-jquery-css/">original tutorial</a>, or download the <a href="demo.zip">source files</a>.</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!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=utf-8" />
|
||||
<title>Halftone Navigation Menu With jQuery & CSS3 | Tutorialzine demo</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="styles.css" />
|
||||
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Halftone Navigation Menu With jQuery & CSS3</h1>
|
||||
<h2>View the <a href="http://tutorialzine.com/2010/01/halftone-navigation-menu-jquery-css/">original tutorial »</a></h2>
|
||||
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div id="navigation">
|
||||
<ul class="menuUL">
|
||||
<!-- The class names that are assigned to the links correspond to name of the shape that is shown on hover: -->
|
||||
<li><a href="#" class="house">Home</a></li>
|
||||
<li><a href="#" class="wrench">Services</a></li>
|
||||
<li><a href="#" class="envelope">Contact</a></li>
|
||||
<li><a href="#" class="info">About</a></li>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="stage">
|
||||
<!-- The dot divs are shown here -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="tutInfo">This is a tutorialzine demo. View the <a href="http://tutorialzine.com/2010/01/halftone-navigation-menu-jquery-css/">original tutorial</a>, or download the <a href="demo.zip">source files</a>.</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,121 +1,121 @@
|
||||
/* Set serviceMode to true to create your own shapes: */
|
||||
var serviceMode = false;
|
||||
|
||||
$(document).ready(function(){
|
||||
/* This code is executed after the DOM has been completely loaded */
|
||||
|
||||
var str=[];
|
||||
var perRow = 16;
|
||||
|
||||
/* Generating the dot divs: */
|
||||
|
||||
for(var i=0;i<192;i++)
|
||||
{
|
||||
str.push('<div class="dot" id="d-'+i+'" />');
|
||||
}
|
||||
|
||||
/* Joining the array into a string and adding it to the inner html of the stage div: */
|
||||
|
||||
$('#stage').html(str.join(''));
|
||||
|
||||
/* Using the hover method: */
|
||||
|
||||
$('#navigation li a').hover(function(e){
|
||||
|
||||
/* serviceDraw is a cut-out version of the draw function, used for shape editing and composing: */
|
||||
|
||||
if(serviceMode)
|
||||
serviceDraw($(this).attr('class'));
|
||||
else
|
||||
draw($(this).attr('class'));
|
||||
}, function(e){
|
||||
|
||||
});
|
||||
|
||||
/* Caching the dot divs into a variable for performance: */
|
||||
dots = $('.dot');
|
||||
|
||||
if(serviceMode)
|
||||
{
|
||||
/* If we are in service mode, show borders around the dot divs, add the export link, and listen for clicks: */
|
||||
|
||||
dots.css({
|
||||
border:'1px solid black',
|
||||
width:dots.eq(0).width()-2,
|
||||
height:dots.eq(0).height()-2,
|
||||
cursor:'pointer'
|
||||
})
|
||||
|
||||
$('<div/>').css({
|
||||
position:'absolute',
|
||||
bottom:-20,
|
||||
right:0
|
||||
}).html('<a href="" onclick="outputString();return false;">[Export Shape]</a>').appendTo('#stage');
|
||||
|
||||
dots.click(function(){
|
||||
$(this).toggleClass('active');
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
var shapes={
|
||||
|
||||
/* Each shape is described by an array of points. You can add your own shapes here,
|
||||
just don't forget to add a coma after each array, except for the last one */
|
||||
|
||||
house:[22,37,38,39,52,53,54,55,56,67,68,69,70,71,72,73,82,83,84,85,86,87,88,89,90,99,100,104,105,115,116,120,121,131,132,136,137,147,148,150,151,152,153,163,164,166,167,168,169],
|
||||
wrench:[22,23,24,25,26,27,38,39,40,41,42,43,54,55,58,59,70,71,86,87,88,89,101,102,103,104,105,116,117,118,131,132,133,146,147,148,163],
|
||||
envelope:[34,35,36,37,38,39,40,41,42,43,44,50,51,52,58,59,60,66,68,69,73,74,76,82,85,86,88,89,92,98,102,103,104,108,114,119,124,130,140,146,147,148,149,150,151,152,153,154,155,156],
|
||||
info:[22,23,38,39,69,70,71,86,87,102,103,118,119,134,135,150,151,166,167,168]
|
||||
}
|
||||
|
||||
var stopCounter = 0;
|
||||
var dots;
|
||||
|
||||
function draw(shape)
|
||||
{
|
||||
/* This function draws a shape from the shapes object */
|
||||
|
||||
stopCounter++;
|
||||
var currentCounter = stopCounter;
|
||||
|
||||
dots.removeClass('active').css('opacity',0);
|
||||
|
||||
$.each(shapes[shape],function(i,j){
|
||||
setTimeout(function(){
|
||||
|
||||
/* If a different shape animaton has been started during the showing of the current one, exit the function */
|
||||
if(currentCounter!=stopCounter) return false;
|
||||
|
||||
dots.eq(j).addClass('active').fadeTo('slow',0.4);
|
||||
|
||||
/* The fade animation is scheduled for 10*i millisecond in the future: */
|
||||
},10*i);
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function serviceDraw(shape)
|
||||
{
|
||||
/* A cut out version of the draw function, used in service mode */
|
||||
|
||||
dots.removeClass('active');
|
||||
|
||||
$.each(shapes[shape],function(i,j){
|
||||
dots.eq(j).addClass('active');
|
||||
});
|
||||
}
|
||||
|
||||
function outputString()
|
||||
{
|
||||
/* Outputs the positions of the active dot divs as a comma-separated string: */
|
||||
|
||||
var str=[];
|
||||
$('.dot.active').each(function(){
|
||||
|
||||
str.push(this.id.replace('d-',''));
|
||||
})
|
||||
|
||||
prompt('Insert this string as an array in the shapes object',str.join(','));
|
||||
/* Set serviceMode to true to create your own shapes: */
|
||||
var serviceMode = false;
|
||||
|
||||
$(document).ready(function(){
|
||||
/* This code is executed after the DOM has been completely loaded */
|
||||
|
||||
var str=[];
|
||||
var perRow = 16;
|
||||
|
||||
/* Generating the dot divs: */
|
||||
|
||||
for(var i=0;i<192;i++)
|
||||
{
|
||||
str.push('<div class="dot" id="d-'+i+'" />');
|
||||
}
|
||||
|
||||
/* Joining the array into a string and adding it to the inner html of the stage div: */
|
||||
|
||||
$('#stage').html(str.join(''));
|
||||
|
||||
/* Using the hover method: */
|
||||
|
||||
$('#navigation li a').hover(function(e){
|
||||
|
||||
/* serviceDraw is a cut-out version of the draw function, used for shape editing and composing: */
|
||||
|
||||
if(serviceMode)
|
||||
serviceDraw($(this).attr('class'));
|
||||
else
|
||||
draw($(this).attr('class'));
|
||||
}, function(e){
|
||||
|
||||
});
|
||||
|
||||
/* Caching the dot divs into a variable for performance: */
|
||||
dots = $('.dot');
|
||||
|
||||
if(serviceMode)
|
||||
{
|
||||
/* If we are in service mode, show borders around the dot divs, add the export link, and listen for clicks: */
|
||||
|
||||
dots.css({
|
||||
border:'1px solid black',
|
||||
width:dots.eq(0).width()-2,
|
||||
height:dots.eq(0).height()-2,
|
||||
cursor:'pointer'
|
||||
})
|
||||
|
||||
$('<div/>').css({
|
||||
position:'absolute',
|
||||
bottom:-20,
|
||||
right:0
|
||||
}).html('<a href="" onclick="outputString();return false;">[Export Shape]</a>').appendTo('#stage');
|
||||
|
||||
dots.click(function(){
|
||||
$(this).toggleClass('active');
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
var shapes={
|
||||
|
||||
/* Each shape is described by an array of points. You can add your own shapes here,
|
||||
just don't forget to add a coma after each array, except for the last one */
|
||||
|
||||
house:[22,37,38,39,52,53,54,55,56,67,68,69,70,71,72,73,82,83,84,85,86,87,88,89,90,99,100,104,105,115,116,120,121,131,132,136,137,147,148,150,151,152,153,163,164,166,167,168,169],
|
||||
wrench:[22,23,24,25,26,27,38,39,40,41,42,43,54,55,58,59,70,71,86,87,88,89,101,102,103,104,105,116,117,118,131,132,133,146,147,148,163],
|
||||
envelope:[34,35,36,37,38,39,40,41,42,43,44,50,51,52,58,59,60,66,68,69,73,74,76,82,85,86,88,89,92,98,102,103,104,108,114,119,124,130,140,146,147,148,149,150,151,152,153,154,155,156],
|
||||
info:[22,23,38,39,69,70,71,86,87,102,103,118,119,134,135,150,151,166,167,168]
|
||||
}
|
||||
|
||||
var stopCounter = 0;
|
||||
var dots;
|
||||
|
||||
function draw(shape)
|
||||
{
|
||||
/* This function draws a shape from the shapes object */
|
||||
|
||||
stopCounter++;
|
||||
var currentCounter = stopCounter;
|
||||
|
||||
dots.removeClass('active').css('opacity',0);
|
||||
|
||||
$.each(shapes[shape],function(i,j){
|
||||
setTimeout(function(){
|
||||
|
||||
/* If a different shape animaton has been started during the showing of the current one, exit the function */
|
||||
if(currentCounter!=stopCounter) return false;
|
||||
|
||||
dots.eq(j).addClass('active').fadeTo('slow',0.4);
|
||||
|
||||
/* The fade animation is scheduled for 10*i millisecond in the future: */
|
||||
},10*i);
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function serviceDraw(shape)
|
||||
{
|
||||
/* A cut out version of the draw function, used in service mode */
|
||||
|
||||
dots.removeClass('active');
|
||||
|
||||
$.each(shapes[shape],function(i,j){
|
||||
dots.eq(j).addClass('active');
|
||||
});
|
||||
}
|
||||
|
||||
function outputString()
|
||||
{
|
||||
/* Outputs the positions of the active dot divs as a comma-separated string: */
|
||||
|
||||
var str=[];
|
||||
$('.dot.active').each(function(){
|
||||
|
||||
str.push(this.id.replace('d-',''));
|
||||
})
|
||||
|
||||
prompt('Insert this string as an array in the shapes object',str.join(','));
|
||||
}
|
||||
@@ -1,148 +1,148 @@
|
||||
body,h1,h2,h3,p,quote,small,form,input,ul,li,ol,label{
|
||||
/* Simple page reset */
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
body{
|
||||
/* Setting default text color, background and a font stack */
|
||||
color:#cccccc;
|
||||
font-size:0.825em;
|
||||
background: url(img/background.jpg) no-repeat center top #252525;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.menuUL li{
|
||||
/* This will arrange the LI-s next to each other */
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.menuUL li a,.menuUL li a:visited{
|
||||
/* Styling the hyperlinks of the menu as buttons */
|
||||
|
||||
float:left;
|
||||
font-weight:bold;
|
||||
background:url(img/button_bg.jpg) repeat-x center bottom #666666;
|
||||
|
||||
/* display:block allows for additinal CSS rules to take effect, such as paddings: */
|
||||
display:block;
|
||||
border:1px solid #4D4D4D;
|
||||
color:#CCCCCC;
|
||||
border-top-color:#565656;
|
||||
|
||||
padding:4px 6px;
|
||||
margin:4px 5px;
|
||||
height:16px;
|
||||
|
||||
|
||||
/* Setting a CSS3 box shadow around the button */
|
||||
|
||||
-moz-box-shadow:0 0 1px black;
|
||||
-webkit-box-shadow:0 0 1px black;
|
||||
box-shadow:0 0 1px black;
|
||||
|
||||
/* CSS3 text shadow */
|
||||
text-shadow:0 1px black;
|
||||
}
|
||||
|
||||
.menuUL li a:hover{
|
||||
/* On hover show the top, lighter, part of the background: */
|
||||
background-position:center top;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
#navigation{
|
||||
/* The navigation menu bar: */
|
||||
background:#222222;
|
||||
border:1px solid #111111;
|
||||
float:left;
|
||||
padding:5px 10px;
|
||||
}
|
||||
|
||||
#navigation,.menuUL li a{
|
||||
/* CSS3 rounded corners for both the navigation bar and the buttons: */
|
||||
-moz-border-radius:4px;
|
||||
-webkit-border-radius:4px;
|
||||
-khtml-border-radius:4px;
|
||||
border-radius:4px;
|
||||
}
|
||||
|
||||
#stage{
|
||||
/* The stage contains the individual divs that comprise the halftone icon: */
|
||||
height:300px;
|
||||
position:absolute;
|
||||
right:50px;
|
||||
top:20px;
|
||||
width:400px;
|
||||
}
|
||||
|
||||
.dot{
|
||||
/* The stage contains 192 .dot divs: */
|
||||
float:left;
|
||||
height:25px;
|
||||
width:25px;
|
||||
}
|
||||
|
||||
.dot.active{
|
||||
/* When assigned the active class, the div shows a background image of a dot: */
|
||||
background:url(img/dot.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.clear{
|
||||
/* Old-school clear fix hack to clear the floats: */
|
||||
clear:both;
|
||||
}
|
||||
|
||||
#main{
|
||||
margin:0 auto;
|
||||
position:relative;
|
||||
width:900px;
|
||||
}
|
||||
|
||||
/* The styles below are only necessary for the demo page */
|
||||
|
||||
h1{
|
||||
background:#222222;
|
||||
border-bottom:1px solid black;
|
||||
font-size:1.5em;
|
||||
font-weight:normal;
|
||||
margin-bottom:15px;
|
||||
padding:15px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:0.9em;
|
||||
font-weight:normal;
|
||||
padding-right:40px;
|
||||
position:relative;
|
||||
right:0;
|
||||
text-align:right;
|
||||
text-transform:uppercase;
|
||||
top:-48px;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color:#0196e3;
|
||||
text-decoration:none;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
p.tutInfo{
|
||||
/* The tutorial info on the bottom of the page */
|
||||
padding:10px 0;
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
bottom:0px;
|
||||
background:#222222;
|
||||
border-top:1px solid black;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
h1,h2,p.tutInfo{
|
||||
font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
|
||||
}
|
||||
body,h1,h2,h3,p,quote,small,form,input,ul,li,ol,label{
|
||||
/* Simple page reset */
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
body{
|
||||
/* Setting default text color, background and a font stack */
|
||||
color:#cccccc;
|
||||
font-size:0.825em;
|
||||
background: url(img/background.jpg) no-repeat center top #252525;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.menuUL li{
|
||||
/* This will arrange the LI-s next to each other */
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.menuUL li a,.menuUL li a:visited{
|
||||
/* Styling the hyperlinks of the menu as buttons */
|
||||
|
||||
float:left;
|
||||
font-weight:bold;
|
||||
background:url(img/button_bg.jpg) repeat-x center bottom #666666;
|
||||
|
||||
/* display:block allows for additinal CSS rules to take effect, such as paddings: */
|
||||
display:block;
|
||||
border:1px solid #4D4D4D;
|
||||
color:#CCCCCC;
|
||||
border-top-color:#565656;
|
||||
|
||||
padding:4px 6px;
|
||||
margin:4px 5px;
|
||||
height:16px;
|
||||
|
||||
|
||||
/* Setting a CSS3 box shadow around the button */
|
||||
|
||||
-moz-box-shadow:0 0 1px black;
|
||||
-webkit-box-shadow:0 0 1px black;
|
||||
box-shadow:0 0 1px black;
|
||||
|
||||
/* CSS3 text shadow */
|
||||
text-shadow:0 1px black;
|
||||
}
|
||||
|
||||
.menuUL li a:hover{
|
||||
/* On hover show the top, lighter, part of the background: */
|
||||
background-position:center top;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
#navigation{
|
||||
/* The navigation menu bar: */
|
||||
background:#222222;
|
||||
border:1px solid #111111;
|
||||
float:left;
|
||||
padding:5px 10px;
|
||||
}
|
||||
|
||||
#navigation,.menuUL li a{
|
||||
/* CSS3 rounded corners for both the navigation bar and the buttons: */
|
||||
-moz-border-radius:4px;
|
||||
-webkit-border-radius:4px;
|
||||
-khtml-border-radius:4px;
|
||||
border-radius:4px;
|
||||
}
|
||||
|
||||
#stage{
|
||||
/* The stage contains the individual divs that comprise the halftone icon: */
|
||||
height:300px;
|
||||
position:absolute;
|
||||
right:50px;
|
||||
top:20px;
|
||||
width:400px;
|
||||
}
|
||||
|
||||
.dot{
|
||||
/* The stage contains 192 .dot divs: */
|
||||
float:left;
|
||||
height:25px;
|
||||
width:25px;
|
||||
}
|
||||
|
||||
.dot.active{
|
||||
/* When assigned the active class, the div shows a background image of a dot: */
|
||||
background:url(img/dot.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.clear{
|
||||
/* Old-school clear fix hack to clear the floats: */
|
||||
clear:both;
|
||||
}
|
||||
|
||||
#main{
|
||||
margin:0 auto;
|
||||
position:relative;
|
||||
width:900px;
|
||||
}
|
||||
|
||||
/* The styles below are only necessary for the demo page */
|
||||
|
||||
h1{
|
||||
background:#222222;
|
||||
border-bottom:1px solid black;
|
||||
font-size:1.5em;
|
||||
font-weight:normal;
|
||||
margin-bottom:15px;
|
||||
padding:15px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:0.9em;
|
||||
font-weight:normal;
|
||||
padding-right:40px;
|
||||
position:relative;
|
||||
right:0;
|
||||
text-align:right;
|
||||
text-transform:uppercase;
|
||||
top:-48px;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color:#0196e3;
|
||||
text-decoration:none;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
p.tutInfo{
|
||||
/* The tutorial info on the bottom of the page */
|
||||
padding:10px 0;
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
bottom:0px;
|
||||
background:#222222;
|
||||
border-top:1px solid black;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
h1,h2,p.tutInfo{
|
||||
font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
|
||||
}
|
||||
|
||||
@@ -1,153 +1,153 @@
|
||||
<!DOCTYPE html 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>
|
||||
<title>Business Co.</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
|
||||
<link href="css/styles.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function MM_preloadImages() { //v3.0
|
||||
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
||||
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
|
||||
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
|
||||
}
|
||||
|
||||
function MM_swapImgRestore() { //v3.0
|
||||
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
||||
}
|
||||
|
||||
function MM_findObj(n, d) { //v4.01
|
||||
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
||||
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|
||||
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
||||
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
|
||||
if(!x && d.getElementById) x=d.getElementById(n); return x;
|
||||
}
|
||||
|
||||
function MM_swapImage() { //v3.0
|
||||
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
||||
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body onload="MM_preloadImages('images/btn_1_over.jpg','images/btn_2_over.jpg','images/btn_3_over.jpg','images/btn_4_over.jpg','images/btn_5_over.jpg', 'images/btn_6_over.jpg');">
|
||||
<!-- Save for Web Slices (index.psd) -->
|
||||
<table width="775" height="700" border="0" align="center" cellpadding="0" cellspacing="0" id="table_01">
|
||||
<tr>
|
||||
<td width="59" height="0" nowrap="nowrap"></td>
|
||||
<td width="19" height="0" nowrap="nowrap"></td>
|
||||
<td width="4" height="0" nowrap="nowrap"></td>
|
||||
<td width="23" height="0" nowrap="nowrap"></td>
|
||||
<td width="83" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="8" height="0" nowrap="nowrap"></td>
|
||||
<td width="10" height="0" nowrap="nowrap"></td>
|
||||
<td width="31" height="0" nowrap="nowrap"></td>
|
||||
<td width="47" height="0" nowrap="nowrap"></td>
|
||||
<td width="4" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="98" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="66" height="0" nowrap="nowrap"></td>
|
||||
<td width="31" height="0" nowrap="nowrap"></td>
|
||||
<td width="10" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="5" height="0" nowrap="nowrap"></td>
|
||||
<td width="89" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="15" height="0" nowrap="nowrap"></td>
|
||||
<td width="57" height="0" nowrap="nowrap"></td>
|
||||
<td width="21" height="0" nowrap="nowrap"></td>
|
||||
<td width="17" height="0" nowrap="nowrap"></td>
|
||||
<td width="60" height="0" nowrap="nowrap"></td>
|
||||
<td width="0" height="0"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="59" height="651" rowspan="15">
|
||||
<img src="images/main.jpg" width="59" height="651" alt="" /></td>
|
||||
<td width="561" height="33" colspan="22" align="left" valign="middle" bgcolor="#efefef" class="text3" style="padding-left:20px">SEPTEMBER 29, 2009 </td>
|
||||
<td width="95" height="33" colspan="3" align="left" valign="top"><a href="#"><img src="images/client_login.jpg" alt="" width="95" height="33" border="0" /></a></td>
|
||||
<td width="60" height="651" rowspan="15">
|
||||
<img src="images/main-03.jpg" width="60" height="651" alt="" /></td>
|
||||
<td width="0" height="33" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="21" colspan="25" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="0" height="21" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="23" height="17" colspan="2" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="106" height="17" colspan="2" align="left" valign="top" bgcolor="#a7a7a7"><a href="index.html"><img src="images/btn_1.jpg" alt="" name="btn_1" width="106" height="17" border="0" id="btn_1" onmouseover="MM_swapImage('btn_1','','images/btn_1_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="100" height="17" colspan="5" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_2.jpg" alt="" name="btn_2" width="100" height="17" border="0" id="btn_2" onmouseover="MM_swapImage('btn_2','','images/btn_2_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-07.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="98" height="17" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_3.jpg" alt="" name="btn_3" width="98" height="17" border="0" id="btn_3" onmouseover="MM_swapImage('btn_3','','images/btn_3_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-09.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="107" height="17" colspan="3" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_4.jpg" alt="" name="btn_4" width="107" height="17" border="0" id="btn_4" onmouseover="MM_swapImage('btn_4','','images/btn_4_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-11.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="97" height="17" colspan="3" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_5.jpg" alt="" name="btn_5" width="97" height="17" border="0" id="btn_5" onmouseover="MM_swapImage('btn_5','','images/btn_5_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-13.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="93" height="17" colspan="3" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_6.jpg" alt="" name="btn_6" width="93" height="17" border="0" id="btn_6" onmouseover="MM_swapImage('btn_6','','images/btn_6_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="17" height="17" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="0" height="17" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="19" colspan="25" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="0" height="19" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="240" colspan="25" align="left" valign="top">
|
||||
<img src="images/main-15.jpg" width="656" height="240" alt="" /></td>
|
||||
<td width="0" height="240" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="321" colspan="25" rowspan="10" align="center" valign="middle" nowrap="nowrap" bgcolor="#efefef" class="text1">Content Page</td>
|
||||
<td width="0" height="7" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="43" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="56" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="26" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="12" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="17" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="23" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="22" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="58" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="57" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="775" height="49" colspan="27" align="center" valign="middle" class="text2" style="background:url(images/b_footer.jpg)"><a href="index.html">HOME</a> | <a href="contentpage.html">ABOUT US</a> | <a href="contentpage.html">SERVICES</a> | <a href="contentpage.html">SOLUTIONS</a> | <a href="contentpage.html">SUPPORT</a> | <a href="contentpage.html">CONTACTS</a><br />
|
||||
<span class="text3">Copyright © Your Company Name</span><br/>
|
||||
Design by <a href="http://www.templatesbox.com" target="_blank" class="adv">Templates</a> Box. Create a <a href="http://www.wix.com" target="_blank" class="adv">free website</a>.
|
||||
</td>
|
||||
<td width="0" height="49" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- End Save for Web Slices -->
|
||||
</body>
|
||||
<!DOCTYPE html 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>
|
||||
<title>Business Co.</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
|
||||
<link href="css/styles.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function MM_preloadImages() { //v3.0
|
||||
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
||||
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
|
||||
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
|
||||
}
|
||||
|
||||
function MM_swapImgRestore() { //v3.0
|
||||
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
||||
}
|
||||
|
||||
function MM_findObj(n, d) { //v4.01
|
||||
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
||||
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|
||||
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
||||
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
|
||||
if(!x && d.getElementById) x=d.getElementById(n); return x;
|
||||
}
|
||||
|
||||
function MM_swapImage() { //v3.0
|
||||
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
||||
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body onload="MM_preloadImages('images/btn_1_over.jpg','images/btn_2_over.jpg','images/btn_3_over.jpg','images/btn_4_over.jpg','images/btn_5_over.jpg', 'images/btn_6_over.jpg');">
|
||||
<!-- Save for Web Slices (index.psd) -->
|
||||
<table width="775" height="700" border="0" align="center" cellpadding="0" cellspacing="0" id="table_01">
|
||||
<tr>
|
||||
<td width="59" height="0" nowrap="nowrap"></td>
|
||||
<td width="19" height="0" nowrap="nowrap"></td>
|
||||
<td width="4" height="0" nowrap="nowrap"></td>
|
||||
<td width="23" height="0" nowrap="nowrap"></td>
|
||||
<td width="83" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="8" height="0" nowrap="nowrap"></td>
|
||||
<td width="10" height="0" nowrap="nowrap"></td>
|
||||
<td width="31" height="0" nowrap="nowrap"></td>
|
||||
<td width="47" height="0" nowrap="nowrap"></td>
|
||||
<td width="4" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="98" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="66" height="0" nowrap="nowrap"></td>
|
||||
<td width="31" height="0" nowrap="nowrap"></td>
|
||||
<td width="10" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="5" height="0" nowrap="nowrap"></td>
|
||||
<td width="89" height="0" nowrap="nowrap"></td>
|
||||
<td width="3" height="0" nowrap="nowrap"></td>
|
||||
<td width="15" height="0" nowrap="nowrap"></td>
|
||||
<td width="57" height="0" nowrap="nowrap"></td>
|
||||
<td width="21" height="0" nowrap="nowrap"></td>
|
||||
<td width="17" height="0" nowrap="nowrap"></td>
|
||||
<td width="60" height="0" nowrap="nowrap"></td>
|
||||
<td width="0" height="0"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="59" height="651" rowspan="15">
|
||||
<img src="images/main.jpg" width="59" height="651" alt="" /></td>
|
||||
<td width="561" height="33" colspan="22" align="left" valign="middle" bgcolor="#efefef" class="text3" style="padding-left:20px">SEPTEMBER 29, 2009 </td>
|
||||
<td width="95" height="33" colspan="3" align="left" valign="top"><a href="#"><img src="images/client_login.jpg" alt="" width="95" height="33" border="0" /></a></td>
|
||||
<td width="60" height="651" rowspan="15">
|
||||
<img src="images/main-03.jpg" width="60" height="651" alt="" /></td>
|
||||
<td width="0" height="33" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="21" colspan="25" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="0" height="21" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="23" height="17" colspan="2" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="106" height="17" colspan="2" align="left" valign="top" bgcolor="#a7a7a7"><a href="index.html"><img src="images/btn_1.jpg" alt="" name="btn_1" width="106" height="17" border="0" id="btn_1" onmouseover="MM_swapImage('btn_1','','images/btn_1_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="100" height="17" colspan="5" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_2.jpg" alt="" name="btn_2" width="100" height="17" border="0" id="btn_2" onmouseover="MM_swapImage('btn_2','','images/btn_2_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-07.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="98" height="17" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_3.jpg" alt="" name="btn_3" width="98" height="17" border="0" id="btn_3" onmouseover="MM_swapImage('btn_3','','images/btn_3_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-09.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="107" height="17" colspan="3" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_4.jpg" alt="" name="btn_4" width="107" height="17" border="0" id="btn_4" onmouseover="MM_swapImage('btn_4','','images/btn_4_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-11.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="97" height="17" colspan="3" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_5.jpg" alt="" name="btn_5" width="97" height="17" border="0" id="btn_5" onmouseover="MM_swapImage('btn_5','','images/btn_5_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#a7a7a7">
|
||||
<img src="images/lines-13.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="93" height="17" colspan="3" align="left" valign="top" bgcolor="#a7a7a7"><a href="contentpage.html"><img src="images/btn_6.jpg" alt="" name="btn_6" width="93" height="17" border="0" id="btn_6" onmouseover="MM_swapImage('btn_6','','images/btn_6_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="17" height="17" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="0" height="17" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="19" colspan="25" align="left" valign="top" nowrap="nowrap" bgcolor="#a7a7a7"></td>
|
||||
<td width="0" height="19" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="240" colspan="25" align="left" valign="top">
|
||||
<img src="images/main-15.jpg" width="656" height="240" alt="" /></td>
|
||||
<td width="0" height="240" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="321" colspan="25" rowspan="10" align="center" valign="middle" nowrap="nowrap" bgcolor="#efefef" class="text1">Content Page</td>
|
||||
<td width="0" height="7" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="43" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="56" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="26" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="12" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="17" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="23" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="22" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="58" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0" height="57" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="775" height="49" colspan="27" align="center" valign="middle" class="text2" style="background:url(images/b_footer.jpg)"><a href="index.html">HOME</a> | <a href="contentpage.html">ABOUT US</a> | <a href="contentpage.html">SERVICES</a> | <a href="contentpage.html">SOLUTIONS</a> | <a href="contentpage.html">SUPPORT</a> | <a href="contentpage.html">CONTACTS</a><br />
|
||||
<span class="text3">Copyright © Your Company Name</span><br/>
|
||||
Design by <a href="http://www.templatesbox.com" target="_blank" class="adv">Templates</a> Box. Create a <a href="http://www.wix.com" target="_blank" class="adv">free website</a>.
|
||||
</td>
|
||||
<td width="0" height="49" nowrap="nowrap"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- End Save for Web Slices -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,160 +1,160 @@
|
||||
body{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
background:#c7c7c7;
|
||||
color:#848484;
|
||||
font:10px/14px Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
div, p, ul, h2, h3, h4, img, form{padding:0px; margin:0px;}
|
||||
ul{list-style-type:none;}
|
||||
|
||||
.clear{
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.frame {
|
||||
border: 1px solid #D5E6E0;
|
||||
}
|
||||
|
||||
.text1 {
|
||||
font: 11px/14px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
color:#000;
|
||||
font-weight:bold;
|
||||
}
|
||||
.text2 {
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
}
|
||||
.text3 {
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
.text4 {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#052578;
|
||||
font-weight:bold;
|
||||
}
|
||||
.text5 {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#052578;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
|
||||
a:link {
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a:visited{
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.a:link {
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#19a1cb;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.a:visited{
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#19a1cb;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.a:hover {
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.b:link {
|
||||
font: 10px/18px Tahoma, Geneva, sans-serif;
|
||||
color:#848484;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.b:visited{
|
||||
font: 10px/18px Tahoma, Geneva, sans-serif;
|
||||
color:#848484;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.b:hover {
|
||||
font: 10px/18px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.c:link {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.c:visited{
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.c:hover {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.d:link {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.d:visited{
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.d:hover {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
input, textarea, select{
|
||||
border:#fff 1px solid;
|
||||
background-color:#d6e6e0;
|
||||
font:10px/12px Tahoma, sans-serif; color:#000;
|
||||
}
|
||||
a.adv:link {text-decoration: none; font-weight:bold; color:#000;}
|
||||
a.adv:hover {text-decoration: none; font-weight:bold; color:#000;}
|
||||
a.adv:visited {text-decoration: none; font-weight:bold; color:#000;}
|
||||
body{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
background:#c7c7c7;
|
||||
color:#848484;
|
||||
font:10px/14px Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
div, p, ul, h2, h3, h4, img, form{padding:0px; margin:0px;}
|
||||
ul{list-style-type:none;}
|
||||
|
||||
.clear{
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.frame {
|
||||
border: 1px solid #D5E6E0;
|
||||
}
|
||||
|
||||
.text1 {
|
||||
font: 11px/14px "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
color:#000;
|
||||
font-weight:bold;
|
||||
}
|
||||
.text2 {
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
}
|
||||
.text3 {
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
.text4 {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#052578;
|
||||
font-weight:bold;
|
||||
}
|
||||
.text5 {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#052578;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
|
||||
a:link {
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a:visited{
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
font: 11px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.a:link {
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#19a1cb;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.a:visited{
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#19a1cb;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.a:hover {
|
||||
font: 10px/14px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.b:link {
|
||||
font: 10px/18px Tahoma, Geneva, sans-serif;
|
||||
color:#848484;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.b:visited{
|
||||
font: 10px/18px Tahoma, Geneva, sans-serif;
|
||||
color:#848484;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.b:hover {
|
||||
font: 10px/18px Tahoma, Geneva, sans-serif;
|
||||
color:#000;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.c:link {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.c:visited{
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.c:hover {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a.d:link {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.d:visited{
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a.d:hover {
|
||||
font: 10px/12px Tahoma, Geneva, sans-serif;
|
||||
color:#FFF;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
input, textarea, select{
|
||||
border:#fff 1px solid;
|
||||
background-color:#d6e6e0;
|
||||
font:10px/12px Tahoma, sans-serif; color:#000;
|
||||
}
|
||||
a.adv:link {text-decoration: none; font-weight:bold; color:#000;}
|
||||
a.adv:hover {text-decoration: none; font-weight:bold; color:#000;}
|
||||
a.adv:visited {text-decoration: none; font-weight:bold; color:#000;}
|
||||
|
||||
@@ -1,197 +1,197 @@
|
||||
<!DOCTYPE html 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>
|
||||
<title>Business Co.</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<link href="css/styles.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function MM_preloadImages() { //v3.0
|
||||
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
||||
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
|
||||
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
|
||||
}
|
||||
|
||||
function MM_swapImgRestore() { //v3.0
|
||||
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
||||
}
|
||||
|
||||
function MM_findObj(n, d) { //v4.01
|
||||
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
||||
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|
||||
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
||||
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
|
||||
if(!x && d.getElementById) x=d.getElementById(n); return x;
|
||||
}
|
||||
|
||||
function MM_swapImage() { //v3.0
|
||||
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
||||
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body onload="MM_preloadImages('images/btn_1_over.jpg','images/btn_2_over.jpg','images/btn_3_over.jpg','images/btn_4_over.jpg','images/btn_5_over.jpg', 'images/btn_6_over.jpg')">
|
||||
<!-- Save for Web Slices (index.psd) -->
|
||||
<table width="775" height="700" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
|
||||
<tr>
|
||||
<td width="59" height="0" nowrap></td>
|
||||
<td width="19" height="0" nowrap></td>
|
||||
<td width="4" height="0" nowrap></td>
|
||||
<td width="23" height="0" nowrap></td>
|
||||
<td width="83" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="8" height="0" nowrap></td>
|
||||
<td width="10" height="0" nowrap></td>
|
||||
<td width="31" height="0" nowrap></td>
|
||||
<td width="47" height="0" nowrap></td>
|
||||
<td width="4" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="98" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="66" height="0" nowrap></td>
|
||||
<td width="31" height="0" nowrap></td>
|
||||
<td width="10" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="5" height="0" nowrap></td>
|
||||
<td width="89" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="15" height="0" nowrap></td>
|
||||
<td width="57" height="0" nowrap></td>
|
||||
<td width="21" height="0" nowrap></td>
|
||||
<td width="17" height="0" nowrap></td>
|
||||
<td width="60" height="0" nowrap></td>
|
||||
<td width="0" height="0"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="59" height="651" rowspan="15">
|
||||
<img src="images/main.jpg" width="59" height="651" alt="" /></td>
|
||||
<td width="561" height="33" colspan="22" align="left" valign="middle" bgcolor="#EFEFEF" class="text3" style="padding-left:20px">SEPTEMBER 29, 2009 </td>
|
||||
<td width="95" height="33" colspan="3" align="left" valign="top"><a href="#"><img src="images/client_login.jpg" alt="" width="95" height="33" border="0" /></a></td>
|
||||
<td width="60" height="651" rowspan="15">
|
||||
<img src="images/main-03.jpg" width="60" height="651" alt="" /></td>
|
||||
<td width="0" height="33" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="21" colspan="25" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="0" height="21" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="23" height="17" colspan="2" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="106" height="17" colspan="2" align="left" valign="top" bgcolor="#A7A7A7"><a href="index.html"><img src="images/btn_1.jpg" alt="" name="btn_1" width="106" height="17" border="0" id="btn_1" onmouseover="MM_swapImage('btn_1','','images/btn_1_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="100" height="17" colspan="5" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_2.jpg" alt="" name="btn_2" width="100" height="17" border="0" id="btn_2" onmouseover="MM_swapImage('btn_2','','images/btn_2_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-07.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="98" height="17" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_3.jpg" alt="" name="btn_3" width="98" height="17" border="0" id="btn_3" onmouseover="MM_swapImage('btn_3','','images/btn_3_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-09.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="107" height="17" colspan="3" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_4.jpg" alt="" name="btn_4" width="107" height="17" border="0" id="btn_4" onmouseover="MM_swapImage('btn_4','','images/btn_4_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-11.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="97" height="17" colspan="3" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_5.jpg" alt="" name="btn_5" width="97" height="17" border="0" id="btn_5" onmouseover="MM_swapImage('btn_5','','images/btn_5_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-13.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="93" height="17" colspan="3" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_6.jpg" alt="" name="btn_6" width="93" height="17" border="0" id="btn_6" onmouseover="MM_swapImage('btn_6','','images/btn_6_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="17" height="17" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="0" height="17" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="19" colspan="25" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="0" height="19" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="240" colspan="25" align="left" valign="top">
|
||||
<img src="images/main-15.jpg" width="656" height="240" alt="" /></td>
|
||||
<td width="0" height="240" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="7" colspan="25" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="7" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19" height="314" rowspan="9" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="209" height="43" colspan="8" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/welcome.jpg" width="209" height="43" alt="" /></td>
|
||||
<td width="174" height="43" colspan="5" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="31" height="314" rowspan="9" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="185" height="43" colspan="8" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/news.jpg" width="185" height="43" alt="" /></td>
|
||||
<td width="38" height="314" colspan="2" rowspan="9" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="43" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="121" height="82" colspan="5" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/welcome-18.jpg" width="121" height="82" alt="" /></td>
|
||||
<td width="10" height="94" rowspan="3" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="252" height="94" colspan="7" rowspan="3" align="left" valign="top" bgcolor="#EFEFEF"><span class="text1">Lorem ipsum dolor sit amet, consectetuer</span><br />
|
||||
Nam eu nulla. Donec lobortis purus vel urna. Nunc laoreet lacinia nunc. In volutpat sodales ipsum. Sed vestibulum. <a href="#" class="a">Integer in ante. Sed posuere ligula</a> rhoncus erat. Fusce urna dui, sollicitudin ac, pulvinar quis</td>
|
||||
<td width="21" height="56" colspan="4" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/news-19.jpg" width="21" height="56" alt="" /></td>
|
||||
<td width="164" height="56" colspan="4" align="left" valign="top" bgcolor="#EFEFEF" style="padding-top:5px"><p class="text1">September 29
|
||||
</p>
|
||||
<p><a href="#" class="a">Integer in ante. Sed posuere ligula </a>rhoncus erat. Fusce urna dui </p></td>
|
||||
<td width="0" height="56" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="21" height="55" colspan="4" rowspan="3" align="left" valign="top" bgcolor="#EFEFEF"><img src="images/news-20.jpg" width="21" height="55" alt="" /></td>
|
||||
<td width="164" height="55" colspan="4" rowspan="3" align="left" valign="top" bgcolor="#EFEFEF" style="padding-top:5px"><span class="text1">September 28
|
||||
</span><br />
|
||||
<a href="#" class="a">Integer in ante. Sed posuere ligula</a> rhoncus erat. Fusce urna dui</td>
|
||||
<td width="0" height="26" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="121" height="12" colspan="5" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="12" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="162" height="40" colspan="7" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/services.jpg" width="162" height="40" alt="" /></td>
|
||||
<td width="221" height="40" colspan="6" rowspan="2" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="17" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="185" height="45" colspan="8" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/spotlight.jpg" width="185" height="45" alt="" /></td>
|
||||
<td width="0" height="23" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="121" height="80" colspan="5" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/services-23.jpg" width="121" height="80" alt="" /></td>
|
||||
<td width="10" height="80" rowspan="2" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="252" height="80" colspan="7" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF"><span class="text1">Lorem ipsum dolor sit amet, consectetuer</span><br />
|
||||
<a href="#" class="a">Nam eu nulla. Donec lobortis purus vel urna. Nunc </a>laoreet lacinia nunc. In volutpat sodales ipsum. Sed vestibulum. rhoncus erat. Fusce urna dui, sollicitudin ac, pulvinar quis</td>
|
||||
<td width="0" height="22" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16" height="115" colspan="3" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/spotlight-24.jpg" width="16" height="115" alt="" /></td>
|
||||
<td width="169" height="115" colspan="5" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF" style="line-height:18px; padding-top:3px"><a href="#" class="b">Morbi volutpat leo in ligula. Inter vel</a><br />
|
||||
<a href="#" class="b">magna. sagittis. Fusce elit ligula, </a><br />
|
||||
<a href="#" class="b">sodales sit amet, tincid unt in, Fusce </a><br />
|
||||
<a href="#" class="b">interdum. Sed laoreet. Aenean. Sed </a><br />
|
||||
l<a href="#" class="b">aoreet. magna. sagittis. Fusce elit</a></td>
|
||||
<td width="0" height="58" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="27" height="57" colspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/services-25.jpg" width="27" height="57" alt="" /></td>
|
||||
<td width="356" height="57" colspan="11" align="left" valign="top" bgcolor="#EFEFEF" style="line-height:18px; padding-top:8px"><a href="#" class="b">Morbi volutpat leo in ligula. Inter vel magna. sagittis. Fusce elit ligula, sodales </a><br />
|
||||
<a href="#" class="b">sit amet, tincid unt in, Fusce interdum. Sed laoreet. Aenean. Sed laoreet. </a></td>
|
||||
<td width="0" height="57" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="775" height="49" colspan="27" align="center" valign="middle" class="text2" style="background:url(images/b_footer.jpg)"><a href="index.html">HOME</a> | <a href="contentpage.html">ABOUT US</a> | <a href="contentpage.html">SERVICES</a> | <a href="contentpage.html">SOLUTIONS</a> | <a href="contentpage.html">SUPPORT</a> | <a href="contentpage.html">CONTACTS</a><br />
|
||||
<span class="text3">Copyright © Your Company Name</span><br />
|
||||
Design by <a href="http://www.templatesbox.com" target="_blank" class="adv">Templates</a> Box. Create a <a href="http://www.wix.com" target="_blank" class="adv">free website</a>.
|
||||
</td>
|
||||
<td width="0" height="49" nowrap></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- End Save for Web Slices -->
|
||||
</body>
|
||||
<!DOCTYPE html 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>
|
||||
<title>Business Co.</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<link href="css/styles.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function MM_preloadImages() { //v3.0
|
||||
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
|
||||
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
|
||||
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
|
||||
}
|
||||
|
||||
function MM_swapImgRestore() { //v3.0
|
||||
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
|
||||
}
|
||||
|
||||
function MM_findObj(n, d) { //v4.01
|
||||
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
|
||||
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
|
||||
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
|
||||
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
|
||||
if(!x && d.getElementById) x=d.getElementById(n); return x;
|
||||
}
|
||||
|
||||
function MM_swapImage() { //v3.0
|
||||
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
|
||||
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body onload="MM_preloadImages('images/btn_1_over.jpg','images/btn_2_over.jpg','images/btn_3_over.jpg','images/btn_4_over.jpg','images/btn_5_over.jpg', 'images/btn_6_over.jpg')">
|
||||
<!-- Save for Web Slices (index.psd) -->
|
||||
<table width="775" height="700" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
|
||||
<tr>
|
||||
<td width="59" height="0" nowrap></td>
|
||||
<td width="19" height="0" nowrap></td>
|
||||
<td width="4" height="0" nowrap></td>
|
||||
<td width="23" height="0" nowrap></td>
|
||||
<td width="83" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="8" height="0" nowrap></td>
|
||||
<td width="10" height="0" nowrap></td>
|
||||
<td width="31" height="0" nowrap></td>
|
||||
<td width="47" height="0" nowrap></td>
|
||||
<td width="4" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="98" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="66" height="0" nowrap></td>
|
||||
<td width="31" height="0" nowrap></td>
|
||||
<td width="10" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="5" height="0" nowrap></td>
|
||||
<td width="89" height="0" nowrap></td>
|
||||
<td width="3" height="0" nowrap></td>
|
||||
<td width="15" height="0" nowrap></td>
|
||||
<td width="57" height="0" nowrap></td>
|
||||
<td width="21" height="0" nowrap></td>
|
||||
<td width="17" height="0" nowrap></td>
|
||||
<td width="60" height="0" nowrap></td>
|
||||
<td width="0" height="0"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="59" height="651" rowspan="15">
|
||||
<img src="images/main.jpg" width="59" height="651" alt="" /></td>
|
||||
<td width="561" height="33" colspan="22" align="left" valign="middle" bgcolor="#EFEFEF" class="text3" style="padding-left:20px">SEPTEMBER 29, 2009 </td>
|
||||
<td width="95" height="33" colspan="3" align="left" valign="top"><a href="#"><img src="images/client_login.jpg" alt="" width="95" height="33" border="0" /></a></td>
|
||||
<td width="60" height="651" rowspan="15">
|
||||
<img src="images/main-03.jpg" width="60" height="651" alt="" /></td>
|
||||
<td width="0" height="33" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="21" colspan="25" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="0" height="21" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="23" height="17" colspan="2" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="106" height="17" colspan="2" align="left" valign="top" bgcolor="#A7A7A7"><a href="index.html"><img src="images/btn_1.jpg" alt="" name="btn_1" width="106" height="17" border="0" id="btn_1" onmouseover="MM_swapImage('btn_1','','images/btn_1_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="100" height="17" colspan="5" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_2.jpg" alt="" name="btn_2" width="100" height="17" border="0" id="btn_2" onmouseover="MM_swapImage('btn_2','','images/btn_2_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-07.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="98" height="17" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_3.jpg" alt="" name="btn_3" width="98" height="17" border="0" id="btn_3" onmouseover="MM_swapImage('btn_3','','images/btn_3_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-09.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="107" height="17" colspan="3" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_4.jpg" alt="" name="btn_4" width="107" height="17" border="0" id="btn_4" onmouseover="MM_swapImage('btn_4','','images/btn_4_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-11.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="97" height="17" colspan="3" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_5.jpg" alt="" name="btn_5" width="97" height="17" border="0" id="btn_5" onmouseover="MM_swapImage('btn_5','','images/btn_5_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="3" height="17" align="left" valign="top" bgcolor="#A7A7A7">
|
||||
<img src="images/lines-13.jpg" width="3" height="17" alt="" /></td>
|
||||
<td width="93" height="17" colspan="3" align="left" valign="top" bgcolor="#A7A7A7"><a href="contentpage.html"><img src="images/btn_6.jpg" alt="" name="btn_6" width="93" height="17" border="0" id="btn_6" onmouseover="MM_swapImage('btn_6','','images/btn_6_over.jpg',1)" onmouseout="MM_swapImgRestore()"/></a></td>
|
||||
<td width="17" height="17" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="0" height="17" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="19" colspan="25" align="left" valign="top" nowrap bgcolor="#A7A7A7"></td>
|
||||
<td width="0" height="19" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="240" colspan="25" align="left" valign="top">
|
||||
<img src="images/main-15.jpg" width="656" height="240" alt="" /></td>
|
||||
<td width="0" height="240" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="656" height="7" colspan="25" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="7" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19" height="314" rowspan="9" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="209" height="43" colspan="8" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/welcome.jpg" width="209" height="43" alt="" /></td>
|
||||
<td width="174" height="43" colspan="5" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="31" height="314" rowspan="9" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="185" height="43" colspan="8" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/news.jpg" width="185" height="43" alt="" /></td>
|
||||
<td width="38" height="314" colspan="2" rowspan="9" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="43" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="121" height="82" colspan="5" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/welcome-18.jpg" width="121" height="82" alt="" /></td>
|
||||
<td width="10" height="94" rowspan="3" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="252" height="94" colspan="7" rowspan="3" align="left" valign="top" bgcolor="#EFEFEF"><span class="text1">Lorem ipsum dolor sit amet, consectetuer</span><br />
|
||||
Nam eu nulla. Donec lobortis purus vel urna. Nunc laoreet lacinia nunc. In volutpat sodales ipsum. Sed vestibulum. <a href="#" class="a">Integer in ante. Sed posuere ligula</a> rhoncus erat. Fusce urna dui, sollicitudin ac, pulvinar quis</td>
|
||||
<td width="21" height="56" colspan="4" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/news-19.jpg" width="21" height="56" alt="" /></td>
|
||||
<td width="164" height="56" colspan="4" align="left" valign="top" bgcolor="#EFEFEF" style="padding-top:5px"><p class="text1">September 29
|
||||
</p>
|
||||
<p><a href="#" class="a">Integer in ante. Sed posuere ligula </a>rhoncus erat. Fusce urna dui </p></td>
|
||||
<td width="0" height="56" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="21" height="55" colspan="4" rowspan="3" align="left" valign="top" bgcolor="#EFEFEF"><img src="images/news-20.jpg" width="21" height="55" alt="" /></td>
|
||||
<td width="164" height="55" colspan="4" rowspan="3" align="left" valign="top" bgcolor="#EFEFEF" style="padding-top:5px"><span class="text1">September 28
|
||||
</span><br />
|
||||
<a href="#" class="a">Integer in ante. Sed posuere ligula</a> rhoncus erat. Fusce urna dui</td>
|
||||
<td width="0" height="26" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="121" height="12" colspan="5" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="12" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="162" height="40" colspan="7" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/services.jpg" width="162" height="40" alt="" /></td>
|
||||
<td width="221" height="40" colspan="6" rowspan="2" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="0" height="17" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="185" height="45" colspan="8" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/spotlight.jpg" width="185" height="45" alt="" /></td>
|
||||
<td width="0" height="23" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="121" height="80" colspan="5" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/services-23.jpg" width="121" height="80" alt="" /></td>
|
||||
<td width="10" height="80" rowspan="2" align="left" valign="top" nowrap bgcolor="#EFEFEF"></td>
|
||||
<td width="252" height="80" colspan="7" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF"><span class="text1">Lorem ipsum dolor sit amet, consectetuer</span><br />
|
||||
<a href="#" class="a">Nam eu nulla. Donec lobortis purus vel urna. Nunc </a>laoreet lacinia nunc. In volutpat sodales ipsum. Sed vestibulum. rhoncus erat. Fusce urna dui, sollicitudin ac, pulvinar quis</td>
|
||||
<td width="0" height="22" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16" height="115" colspan="3" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/spotlight-24.jpg" width="16" height="115" alt="" /></td>
|
||||
<td width="169" height="115" colspan="5" rowspan="2" align="left" valign="top" bgcolor="#EFEFEF" style="line-height:18px; padding-top:3px"><a href="#" class="b">Morbi volutpat leo in ligula. Inter vel</a><br />
|
||||
<a href="#" class="b">magna. sagittis. Fusce elit ligula, </a><br />
|
||||
<a href="#" class="b">sodales sit amet, tincid unt in, Fusce </a><br />
|
||||
<a href="#" class="b">interdum. Sed laoreet. Aenean. Sed </a><br />
|
||||
l<a href="#" class="b">aoreet. magna. sagittis. Fusce elit</a></td>
|
||||
<td width="0" height="58" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="27" height="57" colspan="2" align="left" valign="top" bgcolor="#EFEFEF">
|
||||
<img src="images/services-25.jpg" width="27" height="57" alt="" /></td>
|
||||
<td width="356" height="57" colspan="11" align="left" valign="top" bgcolor="#EFEFEF" style="line-height:18px; padding-top:8px"><a href="#" class="b">Morbi volutpat leo in ligula. Inter vel magna. sagittis. Fusce elit ligula, sodales </a><br />
|
||||
<a href="#" class="b">sit amet, tincid unt in, Fusce interdum. Sed laoreet. Aenean. Sed laoreet. </a></td>
|
||||
<td width="0" height="57" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="775" height="49" colspan="27" align="center" valign="middle" class="text2" style="background:url(images/b_footer.jpg)"><a href="index.html">HOME</a> | <a href="contentpage.html">ABOUT US</a> | <a href="contentpage.html">SERVICES</a> | <a href="contentpage.html">SOLUTIONS</a> | <a href="contentpage.html">SUPPORT</a> | <a href="contentpage.html">CONTACTS</a><br />
|
||||
<span class="text3">Copyright © Your Company Name</span><br />
|
||||
Design by <a href="http://www.templatesbox.com" target="_blank" class="adv">Templates</a> Box. Create a <a href="http://www.wix.com" target="_blank" class="adv">free website</a>.
|
||||
</td>
|
||||
<td width="0" height="49" nowrap></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- End Save for Web Slices -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,86 +1,86 @@
|
||||
<!-- saved from url=(0022)http://internet.e-mail -->
|
||||
<html>
|
||||
<head>
|
||||
<title>TemplatesBox.com | Terms of Use</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#5E717F" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
||||
<table width="700" cellspacing="0" cellpadding="8" align="center" bgcolor="#BED5E2" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td bgcolor="#567280" style="border-top-width:1px; border-right-width:1px; border-left-width:1px; border-top-color:rgb(216,216,216); border-right-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-top-style:solid; border-right-style:solid; border-left-style:solid;"><font color="#C2DCEB" size="2" face="Verdana,Arial"><b>Templates</b></font><font color="#FF9900" size="2" face="Verdana,Arial"><b>Box</b></font><font color="#FF9B05" size="2" face="Verdana,Arial"><b>
|
||||
</b></font><font color="#E3E3E3" size="2" face="Verdana,Arial">|<b> Terms of Use</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#A1BBCA" style="border-right-width:1px; border-left-width:1px; border-right-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-right-style:solid; border-left-style:solid;">
|
||||
<table align="center" cellpadding="0" cellspacing="0" width="98%">
|
||||
<tr>
|
||||
<td>
|
||||
<p style="line-height:115%; margin-top:0; margin-bottom:0;"><font face="Verdana,Arial" color="#354D59"><span style="font-size:8pt;">By
|
||||
downloading a template from TemplatesBox.com you agree to the following
|
||||
Terms of Use: </span></font>
|
||||
<p style="line-height:115%; margin-top:0; margin-bottom:0;"><font face="Verdana,Arial" color="#354D59"><span style="font-size:8pt;">Our
|
||||
web templates may be used for your own and/or your clients' websites,
|
||||
but you may not sell/offer for free our templates in any sort of collection,
|
||||
such as distributing to a third party via CD, diskette, or letting others
|
||||
to download off your websites etc.<br>
|
||||
<br>
|
||||
Link back to www.templatesbox.com is required and always appreciated.
|
||||
Also, please visit the<br>
|
||||
</span></font><a href="http://www.templatesbox.com/linkus.htm" target="_blank"><font face="Verdana,Arial" color="#354D59"><b><span style="font-size:8pt;">Link
|
||||
Us</span></b></font></a><font face="Verdana,Arial" color="#354D59"><span style="font-size:8pt;"> section.<br>
|
||||
<br>
|
||||
The templates are offered "as is" without warranty of any kind,
|
||||
either expressed or implied. TemplatesBox.com will not be liable for any
|
||||
damage or loss of data whatsoever due to downloading or using a template.
|
||||
In no event shall TemplatesBox.com be liable for any damages including,
|
||||
but not limited to, direct, indirect, special, incidental or consequential
|
||||
damages or other losses arising out of the use of or inability to use
|
||||
the templates and/or information from TemplatesBox.com.<br>
|
||||
<br>
|
||||
TemplatesBox.com team reserves the right to change or modify these terms
|
||||
with no prior notice.</span></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#567280" style="border-right-width:1px; border-left-width:1px; border-right-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-right-style:solid; border-left-style:solid;"><font size="2" face="Verdana,Arial" color="#E3E3E3"><b>Featured
|
||||
Partners</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#A1BBCA" style="border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-right-color:rgb(216,216,216); border-bottom-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" height="235">
|
||||
<table align="center" cellpadding="0" cellspacing="0" width="98%">
|
||||
<tr>
|
||||
<td>
|
||||
<p><a href="http://www.specialtemplates.com" target="_blank"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F">Premium Website
|
||||
Templates</font></b></a><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
Over 9000 High-end Website templates, Flash intros and Logo templates.<b><a href="http://www.freshtemplates.com" target="_blank"><br>
|
||||
<br>
|
||||
</a></b></font><a href="http://www.freephotosbank.com" target="_blank"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F">Free
|
||||
Photos, Free Stock Photography</font></b></a><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><b><br></b>
|
||||
</font><FONT face=Verdana color=#2d444f size=2><FONT size=2><FONT
|
||||
face=Verdana><FONT color=#2d444f>1000's of FREE high quality stock
|
||||
Photos!</FONT></FONT></FONT></FONT><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
<br>
|
||||
</font><A
|
||||
href="http://www.webmasterschannel.com" target=_blank><FONT face=Verdana><FONT color=#2d444f><B><FONT size=2>Webmaster Resources &
|
||||
Directory</FONT></B></FONT></FONT></A><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
</font><FONT size=2><FONT face=Verdana><FONT color=#2d444f>A large web directory with webmaster
|
||||
resources.</FONT></FONT></FONT><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
<br>
|
||||
</font><A href="http://www.photovations.com"
|
||||
target=_blank><FONT face=Verdana color=#000000
|
||||
size=2><FONT face=Verdana color=#2d444f size=2><STRONG>Photovations.com</STRONG></FONT></FONT></A><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
</font><FONT face=Verdana color=#2d444f size=2><FONT size=2><FONT
|
||||
face=Verdana><FONT color=#2d444f>Online Photo Sharing. Free Image
|
||||
Hosting</FONT></FONT></FONT></FONT></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
<!-- saved from url=(0022)http://internet.e-mail -->
|
||||
<html>
|
||||
<head>
|
||||
<title>TemplatesBox.com | Terms of Use</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#5E717F" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
||||
<table width="700" cellspacing="0" cellpadding="8" align="center" bgcolor="#BED5E2" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td bgcolor="#567280" style="border-top-width:1px; border-right-width:1px; border-left-width:1px; border-top-color:rgb(216,216,216); border-right-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-top-style:solid; border-right-style:solid; border-left-style:solid;"><font color="#C2DCEB" size="2" face="Verdana,Arial"><b>Templates</b></font><font color="#FF9900" size="2" face="Verdana,Arial"><b>Box</b></font><font color="#FF9B05" size="2" face="Verdana,Arial"><b>
|
||||
</b></font><font color="#E3E3E3" size="2" face="Verdana,Arial">|<b> Terms of Use</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#A1BBCA" style="border-right-width:1px; border-left-width:1px; border-right-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-right-style:solid; border-left-style:solid;">
|
||||
<table align="center" cellpadding="0" cellspacing="0" width="98%">
|
||||
<tr>
|
||||
<td>
|
||||
<p style="line-height:115%; margin-top:0; margin-bottom:0;"><font face="Verdana,Arial" color="#354D59"><span style="font-size:8pt;">By
|
||||
downloading a template from TemplatesBox.com you agree to the following
|
||||
Terms of Use: </span></font>
|
||||
<p style="line-height:115%; margin-top:0; margin-bottom:0;"><font face="Verdana,Arial" color="#354D59"><span style="font-size:8pt;">Our
|
||||
web templates may be used for your own and/or your clients' websites,
|
||||
but you may not sell/offer for free our templates in any sort of collection,
|
||||
such as distributing to a third party via CD, diskette, or letting others
|
||||
to download off your websites etc.<br>
|
||||
<br>
|
||||
Link back to www.templatesbox.com is required and always appreciated.
|
||||
Also, please visit the<br>
|
||||
</span></font><a href="http://www.templatesbox.com/linkus.htm" target="_blank"><font face="Verdana,Arial" color="#354D59"><b><span style="font-size:8pt;">Link
|
||||
Us</span></b></font></a><font face="Verdana,Arial" color="#354D59"><span style="font-size:8pt;"> section.<br>
|
||||
<br>
|
||||
The templates are offered "as is" without warranty of any kind,
|
||||
either expressed or implied. TemplatesBox.com will not be liable for any
|
||||
damage or loss of data whatsoever due to downloading or using a template.
|
||||
In no event shall TemplatesBox.com be liable for any damages including,
|
||||
but not limited to, direct, indirect, special, incidental or consequential
|
||||
damages or other losses arising out of the use of or inability to use
|
||||
the templates and/or information from TemplatesBox.com.<br>
|
||||
<br>
|
||||
TemplatesBox.com team reserves the right to change or modify these terms
|
||||
with no prior notice.</span></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#567280" style="border-right-width:1px; border-left-width:1px; border-right-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-right-style:solid; border-left-style:solid;"><font size="2" face="Verdana,Arial" color="#E3E3E3"><b>Featured
|
||||
Partners</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#A1BBCA" style="border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-right-color:rgb(216,216,216); border-bottom-color:rgb(216,216,216); border-left-color:rgb(216,216,216); border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" height="235">
|
||||
<table align="center" cellpadding="0" cellspacing="0" width="98%">
|
||||
<tr>
|
||||
<td>
|
||||
<p><a href="http://www.specialtemplates.com" target="_blank"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F">Premium Website
|
||||
Templates</font></b></a><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
Over 9000 High-end Website templates, Flash intros and Logo templates.<b><a href="http://www.freshtemplates.com" target="_blank"><br>
|
||||
<br>
|
||||
</a></b></font><a href="http://www.freephotosbank.com" target="_blank"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F">Free
|
||||
Photos, Free Stock Photography</font></b></a><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><b><br></b>
|
||||
</font><FONT face=Verdana color=#2d444f size=2><FONT size=2><FONT
|
||||
face=Verdana><FONT color=#2d444f>1000's of FREE high quality stock
|
||||
Photos!</FONT></FONT></FONT></FONT><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
<br>
|
||||
</font><A
|
||||
href="http://www.webmasterschannel.com" target=_blank><FONT face=Verdana><FONT color=#2d444f><B><FONT size=2>Webmaster Resources &
|
||||
Directory</FONT></B></FONT></FONT></A><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
</font><FONT size=2><FONT face=Verdana><FONT color=#2d444f>A large web directory with webmaster
|
||||
resources.</FONT></FONT></FONT><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
<br>
|
||||
</font><A href="http://www.photovations.com"
|
||||
target=_blank><FONT face=Verdana color=#000000
|
||||
size=2><FONT face=Verdana color=#2d444f size=2><STRONG>Photovations.com</STRONG></FONT></FONT></A><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#2D444F"><br>
|
||||
</font><FONT face=Verdana color=#2d444f size=2><FONT size=2><FONT
|
||||
face=Verdana><FONT color=#2d444f>Online Photo Sharing. Free Image
|
||||
Hosting</FONT></FONT></FONT></FONT></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h2>Norwegian Mountain Trip</h2>
|
||||
<img border="0" src="images/pulpit.jpg" alt="Pulpit rock" width="304" height="228" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h2>Norwegian Mountain Trip</h2>
|
||||
<img border="0" src="images/pulpit.jpg" alt="Pulpit rock" width="304" height="228" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h1>My First Heading</h1>
|
||||
|
||||
<p>My first paragraph.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h1>My First Heading</h1>
|
||||
|
||||
<p>My first paragraph.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -1,99 +1,99 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset=utf-8 />
|
||||
<meta name="viewport" content="width=620" />
|
||||
<title>HTML5 Demo: data-*</title>
|
||||
<link rel="stylesheet" href="/css/html5demos.css" type="text/css" />
|
||||
<script src="/js/h5utils.js"></script></head>
|
||||
<body>
|
||||
<section id="wrapper">
|
||||
<header>
|
||||
<h1>data-*</h1>
|
||||
</header><style>
|
||||
#test {
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
margin: 20px 0;
|
||||
}
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
padding: 10px;
|
||||
border: 1px dashed #ccc;
|
||||
background: #fff;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<article>
|
||||
<section>
|
||||
<p>The <code>data-[name]</code> attribute on elements can now be accessed directly via the DOM using <code>element.dataset.[attr]</code>.</p>
|
||||
<p>Try openning the Web Console and editing <code>element.dataset</code> directly: <br /><code>element.dataset.foo = 'bar';</code></p>
|
||||
</section>
|
||||
<p id="status">Not connected</p>
|
||||
<section>
|
||||
<div id="test" data-name="rem" data-height="short">This element has data</div>
|
||||
<input type="button" value="Show data" id="show" />
|
||||
<input type="button" value="Change data via dataset" id="change1" />
|
||||
<input type="button" value="change data via setAttribute" id="change2" />
|
||||
</section>
|
||||
<pre><code id="element">[click buttons above to show element html]</code></pre>
|
||||
</article>
|
||||
<script>
|
||||
(function () {
|
||||
|
||||
function show() {
|
||||
code.innerHTML = test.outerHTML.replace(/[<>]/g, function (m) {
|
||||
return { '<': '<', '>': '>' }[m];
|
||||
});
|
||||
|
||||
for (var prop in test.dataset) {
|
||||
code.innerHTML += '\nel.dataset.' + prop + ' = "' + test.dataset[prop] + '"';
|
||||
}
|
||||
}
|
||||
|
||||
var state = document.getElementById('status'),
|
||||
code = document.getElementById('element');
|
||||
|
||||
var test = window.element = document.getElementById('test');
|
||||
|
||||
if (test.dataset === undefined) {
|
||||
state.innerHTML = 'dataset not supported';
|
||||
state.className = 'fail';
|
||||
} else {
|
||||
state.className = 'success';
|
||||
state.innerHTML = 'element.dataset supported';
|
||||
}
|
||||
|
||||
addEvent(document.getElementById('show'), 'click', function () {
|
||||
show();
|
||||
});
|
||||
|
||||
addEvent(document.getElementById('change1'), 'click', function () {
|
||||
test.dataset.name = 'via el.dataset';
|
||||
show();
|
||||
});
|
||||
|
||||
addEvent(document.getElementById('change2'), 'click', function () {
|
||||
test.setAttribute('data-name', 'via setAttribute');
|
||||
show();
|
||||
});
|
||||
|
||||
|
||||
})();
|
||||
</script>
|
||||
<footer><a href="/">HTML5 demos</a>/<a id="built" href="http://twitter.com/rem">@rem built this</a>/<a href="#view-source">view source</a></footer>
|
||||
</section>
|
||||
<a href="http://github.com/remy/html5demos"><img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub" /></a>
|
||||
<script src="/js/prettify.packed.js"></script>
|
||||
<script>
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script>
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-1656750-18");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}</script>
|
||||
</body>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset=utf-8 />
|
||||
<meta name="viewport" content="width=620" />
|
||||
<title>HTML5 Demo: data-*</title>
|
||||
<link rel="stylesheet" href="/css/html5demos.css" type="text/css" />
|
||||
<script src="/js/h5utils.js"></script></head>
|
||||
<body>
|
||||
<section id="wrapper">
|
||||
<header>
|
||||
<h1>data-*</h1>
|
||||
</header><style>
|
||||
#test {
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
margin: 20px 0;
|
||||
}
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
padding: 10px;
|
||||
border: 1px dashed #ccc;
|
||||
background: #fff;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<article>
|
||||
<section>
|
||||
<p>The <code>data-[name]</code> attribute on elements can now be accessed directly via the DOM using <code>element.dataset.[attr]</code>.</p>
|
||||
<p>Try openning the Web Console and editing <code>element.dataset</code> directly: <br /><code>element.dataset.foo = 'bar';</code></p>
|
||||
</section>
|
||||
<p id="status">Not connected</p>
|
||||
<section>
|
||||
<div id="test" data-name="rem" data-height="short">This element has data</div>
|
||||
<input type="button" value="Show data" id="show" />
|
||||
<input type="button" value="Change data via dataset" id="change1" />
|
||||
<input type="button" value="change data via setAttribute" id="change2" />
|
||||
</section>
|
||||
<pre><code id="element">[click buttons above to show element html]</code></pre>
|
||||
</article>
|
||||
<script>
|
||||
(function () {
|
||||
|
||||
function show() {
|
||||
code.innerHTML = test.outerHTML.replace(/[<>]/g, function (m) {
|
||||
return { '<': '<', '>': '>' }[m];
|
||||
});
|
||||
|
||||
for (var prop in test.dataset) {
|
||||
code.innerHTML += '\nel.dataset.' + prop + ' = "' + test.dataset[prop] + '"';
|
||||
}
|
||||
}
|
||||
|
||||
var state = document.getElementById('status'),
|
||||
code = document.getElementById('element');
|
||||
|
||||
var test = window.element = document.getElementById('test');
|
||||
|
||||
if (test.dataset === undefined) {
|
||||
state.innerHTML = 'dataset not supported';
|
||||
state.className = 'fail';
|
||||
} else {
|
||||
state.className = 'success';
|
||||
state.innerHTML = 'element.dataset supported';
|
||||
}
|
||||
|
||||
addEvent(document.getElementById('show'), 'click', function () {
|
||||
show();
|
||||
});
|
||||
|
||||
addEvent(document.getElementById('change1'), 'click', function () {
|
||||
test.dataset.name = 'via el.dataset';
|
||||
show();
|
||||
});
|
||||
|
||||
addEvent(document.getElementById('change2'), 'click', function () {
|
||||
test.setAttribute('data-name', 'via setAttribute');
|
||||
show();
|
||||
});
|
||||
|
||||
|
||||
})();
|
||||
</script>
|
||||
<footer><a href="/">HTML5 demos</a>/<a id="built" href="http://twitter.com/rem">@rem built this</a>/<a href="#view-source">view source</a></footer>
|
||||
</section>
|
||||
<a href="http://github.com/remy/html5demos"><img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub" /></a>
|
||||
<script src="/js/prettify.packed.js"></script>
|
||||
<script>
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script>
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-1656750-18");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user