473,385 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

HTML query current position in page

Hello everyone,

I am not a web developer and my knowledge in it is primitive,

I want to know if it is possible to move screen elements horizontally depending on the position of the user in the webpage?

appreciate your help
Jul 31 '12 #1

✓ answered by Dormilich

you need to look into JavaScript for that.

14 2281
I guess yes I do need to elaborate on that I'm sorry,

so i want the contents of the page to move to the left or right depending on how far down the user is with scrolling on the page. I aim to give the illusion of diagonal scrolling. I hope its more clear this time

thank you
Aug 1 '12 #2
lyodmichael
75 64KB
i think it's possible to do that,
Aug 1 '12 #3
Do you happen to know which command is used to query the position in page? and the command to move elements horizontally on page?

thanks dude
Aug 1 '12 #4
Dormilich
8,658 Expert Mod 8TB
you need to look into JavaScript for that.
Aug 1 '12 #5
thank you for your reply Dormilich

I wish to make a website that is very simple, and has just that feature, is it a complicated job? or its more knowhow?

thanks again
Aug 1 '12 #6
Dormilich
8,658 Expert Mod 8TB
it is complicated because of the cross-browser issues.

the principle itself is plain: read the scroll height => adjust horizontal position.
Aug 1 '12 #7
thanks mate, ill need to think about it and if i attempt to pursue this ill come with more specific questions

cheers
Aug 1 '12 #8
Ok, what makes sense is for me to buy a template, has anyone seen this diagonal scrolling done before? or sold anywhere? I seriously looked everywhere, i feel its such a basic cool idea that people must have done it before

thanks again
Aug 2 '12 #9
Dormilich
8,658 Expert Mod 8TB
i feel its such a basic cool idea that people must have done it before
actually, it’s not.
- it doesn’t work without JS, so once that is disabled, your GUI layout falls apart
- diagonal scrolling ins unpleasent for the eye to do continuously.
- text is not read diagonally
Aug 2 '12 #10
cant there be a way to protect oneself from breaking down by reading if JS is disabled, then dont move the elements around?

whole block would move together, it wouldnt be line by line if you know what i mean, also the galleries of images and what not

and i dont get ur third point. lol
Aug 2 '12 #11
Dormilich
8,658 Expert Mod 8TB
cant there be a way to protect oneself from breaking down by reading if JS is disabled, then dont move the elements around?
if JS is disabled, the elements won’t move. the question is, does that fit into your layout?

whole block would move together, it wouldnt be line by line if you know what i mean, also the galleries of images and what not
no, I don’t.

and i dont get ur third point.
ever heard of reading direction and reading behaviour? there are a great deal of psychological studies on that.
Aug 2 '12 #12
I would be very interested in the studies on that, do you have a specific one in mind to guide me to? or a general direction of where to look?
Aug 2 '12 #13
Dormilich
8,658 Expert Mod 8TB
I would just google for that.
Aug 2 '12 #14
that was just enlightening! someone else might have thought that i meant a specific study that you have read
Aug 2 '12 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: LC | last post by:
Hi, I would like to know how I can save my current ASP page to the server side in html file format. Then I would like to stream it back to the client side. Any help is very much...
1
by: Devin | last post by:
I am creating a form, and when a user clicks on the ASP.NET calendar control, or on another checkbox that sends a request to the server, the page reloads fine, except that it is at the top of the...
3
by: Kuldeep | last post by:
Hi All, How can i mail the current open page? The open page contains some data (which vary every time page is opened), textbox to enter email id and send button. When the send button is clicked...
3
by: joe | last post by:
How to get the current aspx page innerhtml in code-behind e.g. <htm>.... </html> all content
0
by: tdtpw | last post by:
I want to print the current web page from a asp.net vb protected sub with one line like: form1.print() or at least open the print dialog box. where can i find this or how do i do it.
3
by: janeyangel | last post by:
Hello all. I am not sure if my problem is relevant here but here goes - my printer appears to only want to print the whole html of a web page, ie. when I print off an invoice from ebay - instead of...
4
by: backups2007 | last post by:
is it possible to pass a query to another page? for example, page1.php <form method='post' action='page2.php'> <? $query = mysql_query("SELECT * FROM tblProducts"); ....
2
by: FunkyWinkerbean | last post by:
Greetings, I seek a best practice to dynamically load form data to the current web page. Example: a user logs into a web page to add a recipe. 1. recipe web page loads with no ingredients where...
2
by: visweswaran2830 | last post by:
I want to know to get content(in IE "View->Source" that produce current page content) of current aspx page in asp.net..
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.