|
[Solved] Setting default positions?
|
|
20th March, 02:02
Post: #1
|
|||
|
|||
|
[Solved] Setting default positions?
No doubt this has been answered before but I can't find it.
I have multiple tips on a page. They all have the same position info, only the content changes. Currently I have JS Code
I have tried JS Code
I am sure there is a way to do it, but I am too thick to work it out. Thanks in advance. |
|||
|
20th March, 07:35
Post: #2
|
|||
|
|||
|
RE: Setting default positions?
You can setup a default configuration object and then use the jQuery extend method to combine it with your other configuration option. Like so:
JS Code
Working jsFiddle example: http://jsfiddle.net/kiddailey/RMmhY/ |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



