Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Which framework is this? Sample in inside..
Old 11-08-2012, 02:44 AM Which framework is this? Sample is inside..
soumen_07's Avatar
Experienced Talker

Posts: 33
Name: Soumen paul
Trades: 0
Hi,

Which framework is this? How the animation is coming?

Please share your thoughts with bellow the sample link.

http://www.officeline.se/kampanj/

Thanks in advance!!
__________________
ssp

Last edited by soumen_07; 11-08-2012 at 03:57 AM..
soumen_07 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-09-2012, 02:06 PM Re: Which framework is this? Sample in inside..
jim1228's Avatar
Extreme Talker

Posts: 219
Name: Jim
Location: Down the Yellow Brick Road
Trades: 0
jquery

and
https://github.com/Prinzhorn/skrollr
jim1228 is offline
Reply With Quote
View Public Profile
 
Old 11-15-2012, 03:04 AM Re: Which framework is this? Sample in inside..
soumen_07's Avatar
Experienced Talker

Posts: 33
Name: Soumen paul
Trades: 0
Thanks a lot!

How can i set Custom Data Attributes in html tags like the following code?

HTML Code:
<img  data-0="display: block;" data-25="display: none;" src="files/scen_1_0.png" alt="Lei">
<img  data-0="display: none;" data-24="display: block;" data-50="display: none;" src="files/scen_1_2.png" alt="Lei">
<img data-0="display: none;" data-49="display: block;" data-75="display: none;" src="files/scen_1_4.png" alt="Lei">
data-0, data-25, data-24, data-50, data-49, data-75...?? ...is there any calculation?

Thanks again.
__________________
ssp

Last edited by Physicsguy; 11-15-2012 at 08:14 AM..
soumen_07 is offline
Reply With Quote
View Public Profile
 
Old 11-15-2012, 08:15 AM Re: Which framework is this? Sample in inside..
Physicsguy's Avatar
404 - Title not found

Posts: 1,060
Name: Scott Kaye
Location: Ontario
Trades: 0
Quote:
Originally Posted by soumen_07 View Post
Thanks a lot!

How can i set Custom Data Attributes in html tags like the following code?

HTML Code:
<img  data-0="display: block;" data-25="display: none;" src="files/scen_1_0.png" alt="Lei">
<img  data-0="display: none;" data-24="display: block;" data-50="display: none;" src="files/scen_1_2.png" alt="Lei">
<img data-0="display: none;" data-49="display: block;" data-75="display: none;" src="files/scen_1_4.png" alt="Lei">
data-0, data-25, data-24, data-50, data-49, data-75...?? ...is there any calculation?

Thanks again.
Setting custom attribute is only really available by making your own DTD. If all you want is for styling, just use classes in CSS (you can set multiple classes by using a space in the class attribute).

I remember wanting to create my own DTD a while back. It's a huge task (unless you edit one), and I really had no clue what to look at or where to look. It all boils down to what you need those attributes for.

EDIT: Nevermind, NullPointer brought up a good point that I didn't know about - you can set data-* attributes in HTML5.
__________________

Please login or register to view this content. Registration is FREE

Last edited by Physicsguy; 11-15-2012 at 12:15 PM..
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 11-15-2012, 09:56 AM Re: Which framework is this? Sample in inside..
NullPointer's Avatar
Will Code for Food

Posts: 2,883
Name: Matt
Location: Irvine, CA
Trades: 0
http://www.w3.org/TR/2010/WD-html5-2...ata-attributes

In HTML5 you can use data-* attributes to store information pertaining to a particular element. You don't have to create a dtd to use data-* attributes.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is offline
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 11-19-2012, 02:29 AM Re: Which framework is this? Sample in inside..
soumen_07's Avatar
Experienced Talker

Posts: 33
Name: Soumen paul
Trades: 0
data-0, data-25, data-24, data-50, data-49, data-75...?? ...is there any calculation?

How can i set this? Please help.
__________________
ssp

Last edited by soumen_07; 11-19-2012 at 02:30 AM..
soumen_07 is offline
Reply With Quote
View Public Profile
 
Old 11-19-2012, 12:53 PM Re: Which framework is this? Sample in inside..
NullPointer's Avatar
Will Code for Food

Posts: 2,883
Name: Matt
Location: Irvine, CA
Trades: 0
Quote:
Originally Posted by soumen_07 View Post
data-0, data-25, data-24, data-50, data-49, data-75...?? ...is there any calculation?

How can i set this? Please help.
I'm not sure what you're asking.

You set it like you set any other attribute. How do you set the ID attribute of an element?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is offline
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 11-19-2012, 10:33 PM Re: Which framework is this? Sample in inside..
soumen_07's Avatar
Experienced Talker

Posts: 33
Name: Soumen paul
Trades: 0
Actually this is a site: http://www.officeline.se/kampanj/
in this site a chair animating frame by frame with the scroll. how it is coming?

Also, I saw every frame of the image they have used the attribute like "data-0, data-25, data-24, data-50, data-49, data-75..."

What is the roll of this attribute?

following code is in the site:-

<img style="display: none; opacity: 1;" class="skrollable unrendered" data-0="display: block;" data-25="display: none;" src="files/scen_1_0.png" alt="Officeline Lei">

<img style="display: none; opacity: 1;" class="skrollable unrendered" data-0="display: none;" data-24="display: block;" data-50="display: none;" src="files/scen_1_2.png" alt="Officeline Lei">

<img style="display: none; opacity: 1;" class="skrollable unrendered" data-0="display: none;" data-49="display: block;" data-75="display: none;" src="files/scen_1_4.png" alt="Officeline Lei">

Thanks!
__________________
ssp

Last edited by soumen_07; 11-20-2012 at 03:34 AM..
soumen_07 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Which framework is this? Sample in inside..
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27762 seconds with 11 queries