I am working on a website and stuck on an annoying problem. Firstly, please visit this page:
http://milabalami.com/saved/2/index.php Hover your mouse over the Menu on the right. You will see that the font changes colour and there is an image covering it.
Now I have implemented this Menu to a WordPress theme: http://milabalami.com/ As you can see when you hover your mouse over the menu, slider doesn't work. Why?
Issue is now resolved here: Javascript issue with easyslider
On http://miladalami.com/, you are including jQuery 3 times:
Each time you load jQuery, you're wiping out all modifications made to the jQuery.fn prototype, and thus rendering all plugins loaded before the final one is loaded useless. Remove all but the first jQuery, and update it to use version 1.4.4 instead of 1.4.2, and you should be fine.
Of course, the thinkbox plugin you're using may not function after the upgrade (1.2.4 to 1.4.4 is a rather large upgrade) but you should be able to find alternatives easily.
Related
I'm trying to build up a slider in a personalized div inside a lighbox.
I use Lity for lightbox and Unslider for slides.
Unfortunately, the slider doesn't work properly, as overflow is set to "hidden" by the script (comes out it's inherited after element.style, as of Firebug).
If I force uncheck overflow for the slide element in developer tools in browser, it appears finally.
Here's the link to the actual site (click on an image):
http://foalenraged.com/david/index.php#inline7
The final version should be like this:
If there's a simple way to do the exact design with a better plugin, I'd be also greatful for the advice.
Thanks.
Find out a website http://www.boy-coy.com/#home. When you scoll down all content scrolls very smooth. Even if you scroll it fast, scroll is done at specific speed. This makes the website faster and responsive. How this can be achieved with the help of css and jquery?
At first glance.
Try reading their html source code output.
They use a few jquery plugins and legacy browser js plugin calls.
They have a custom and partially obfuscated .js script that is in depth, but you can see the specific properties it is setting on items in the page.
Barring any terms of use issues, you could likely decipher this pages cool scroll technique by working with this sample code as an example. But it is definitely a fair amount of work to write from scratch or post the entire solution here.
Im going to go and look for a smaller example that isnt as involved as this parallax.
And check out this link http:// codepen.io/JTParrett/pen/BkDie its got some starting principals here of some of the images positioning at different locations in the viewport when you scroll.
This link in SO can also help Can I change the scroll speed using css or jQuery?
Kirupa has a nice tutorial that can likely help in getting the smoothe scrolling effect stared too. http://www.kirupa.com/html5/smooth_parallax_scrolling.htm
And this one is pretty awesome. I think I would look into this demo. Be sure to test all of click event demos here. Im sure you could tie in your jquery tween event for the scroll bar with this http://plugins.compzets.com/animatescroll/
Another decent example http://bassta.bg/demos/smooth-page-scroll/
It is called Parallax,
Check this: http://www.w3schools.com/howto/howto_css_parallax.asp
http://matthew.wagerfield.com/parallax/
I'm trying to find out how to recreate Chrome's new tab homepage with all it's features.
I've tried plugins like isotope, however I've met a lot problems with sorting using the jQuery sortable class.
I've tried just using good`ol css with floats to create a grid, but it's nowhere close to as good as what Chrome has.
Is there a tutorial out there that covers this?
Any pointers in the right direction would be helpful
If your using chrome it'll be easier to use the inspect element function of the right click context menu. This brings up the developer console showing the elements tab. It should also take you to the meat of the layout straight away, without having to scroll through lots of lines! :)
If you haven't seen the developer tools in chrome before, it's well worth getting into! The elements panel will be of particular use:
https://developers.google.com/chrome-developer-tools/docs/elements
In short, the elements panel will give you a live view of the HTML DOM, including a view of the CSS classes that are present on any given element.
Update
From a quick look at the source myself though, it looks like a lot of it is generated in JavaScript first, i.e. the margins and widths of icons etc are set using JavaScript when you manually resize the page. I pretty sure their layout isn't just pure CSS.
This is an IE7/IE8 issue --
I'm trying to load an overlay beneath a CSS pie object. The object is partially covered by the overlay until you scroll a bit.
Here is a link, http://lab.atworkinthecloud.com/csspie-index/index.php (click on the "+View History" link to trigger the dropdown with overlay)
The funny think is it works fine with only one or two objects on the page --
But with multiple objects on the page things get crazy.
http://lab.atworkinthecloud.com/csspie-index/index1.php
Any help or suggestions would be very much appreciated.
Try using the jQuery .delegate() function in place of .live(). jQuery delegate documentation shows you just how similar they are, just delegate is more efficient.
EDIT: also, try upgrading to a newer version of jQuery.
Is there a good Javascript library for generating an automatically scrolling list like the "Top Tweets" on the Twitter homepage? Preferable as jQuery plugin. It should also support AJAX functionality (to add new list items dynamically).
As we were not really satisfied with the existing solutions we implemented one from scratch. Our solution is a fully jQuery UI compatible ticker plugin (also compatible with their theming framework) and fully unit tested. We didn't yet have the time to test it under every browser, so feedback is welcome (for problems please open issues on the below Github project site).
A special styled demo (Twitter like) is available here.
The main main repository can be found here (ticker branch). There are several options to customize the ticker (documentation at the above mentioned Github repository).
Screenshot:
Here is a nice solution: Scrolling List
Try http://www.htmldrive.net/items/demo/38/Multi-purpose-slideshowtext-scrollerimages-scroller-jquery-plugin
That is the best solution I was able to find:
Scrolling List
If you want to write your own, make a div of fixed width/height, with overflow: hidden, then create another div inside it, with the position: relative property, filled with content from your feed (twitter posts, or similar, etc). Then, when the page loads just make the inner div's top: CSS value change (if you want the list to scroll up, the top value should decrement from zero).
I doubt this helps, but it is quite a good, simple way to get a scrolling without using a jQuery plugin.