![]() |
| Home | Demo | Services | Features | Help | User Forum | Blog | About | |
|
#1
|
|||
|
|||
|
Well, I took the plunge and created ebooks in pdf format of the 3 stories on my site. I also created a page to list them. Tell me what you think. Are the cover images too large? They seem a little big to me.
Sorry, forgot the link - www.jonra.com/blog/ebooks.shtml |
|
#2
|
||||
|
||||
|
Looks good to me, did'nt find any images that's to big in my opinion.
One thing I find interesting and like to ask you about since I know you are good at CSS, is the "#" link "click here to enable mousewheel in Mozilla/Firefox". Why is'nt the pages scrollable in the first place, and what makes them scrollable after clicking that link? I can't see any difference on the page if I click the link with IE so I wonder why the wheel can't be enabled directly Moz/Ff, when downloading the page? I'll guess you have found something here that I can't figure out how it works |
|
#3
|
|||
|
|||
|
Quote:
The content area is a div with overflow set to auto. This adds the vertical scrollbar. It appears as if Mozilla needs to have the focus set on that div in order for the mousewheel to work. That's all that link does. The mousewheel works perfectly in IE. It scrolls the div even if there is a scrollbar on the page. I might be able accomplish the same thing by running a javascript function while the page loads to set the focus on that div. I've been meaning to try that, just haven't found the time. |
|
#4
|
|||
|
|||
|
Tried using focus() to activate the mousewheel for the content div. Didn't work. Focus() is meant to set the focus in a text input field, so I'm not surprised it didn't work.
|
|
#5
|
||||
|
||||
|
Quote:
I tested that after I posted my question. Find out that if you have that div further down on a page with enough content to get the page scrollbar visble, then clicking on a link like that will make Mozilla to move up to the top of the page. To avoid that you must add something after the # sign, e.g. the title text in the div in question. Code:
<div id="wheel"><a href="#Chapter 1"> |
|
#6
|
|||
|
|||
|
hey jonra,
i have a page for "free for friends" in my site . . . May I put a link to your free e-books from that page? China T |
|
#7
|
|||
|
|||
|
Not sure what you are saying here, Arne. Adding a name to the link doesn't really change the way it works for my purposes. The href="#" is sufficient. I use named anchors sometimes for top of page links or to jump to a specific place on the page. I can envision situations that might call for the method you state, but I don't really see the need for it on this site. The fix I use is simply an effort to make the site more usable for Firefox users. It would still work OK, although without the mousewheel functionality.
I remembered how I first figured this out. The photo pages have thumbnails in a scrollable div on the right. I noticed that after you clicked on a thumbnail image the mousewheel would work. I experimented a little and found that it would work with a text link. That's when I added the fix. I use Mozilla almost exclusively. I also use the mousewheel a lot. The lack really bothered me until I added those links. It still annoys me and I hope Mozilla changes this behavior in future versions. |
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
Quote:
Then finally, when checking what processes was allways running after I started my computer, I discovered there was a process in the autostart for Logitech special mouse behavior. That dam process was the reason I could'nt scroll pages with my mouse wheel! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|