Anchor on creativity

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Mar 20, 2014 9:43 pm
Reply with quote
Report this post
Hi,

i would like to add anchor function and applying to it the same effect that the anchor have on creativity.

Like now i obtained the anchor to a module of home page just putting a anchor link inside custom module and calling it thanks to link menu voice.

But problems are:

1) There is not a scrolling effect like on creativity

2) The anchor (see menu contattaci on www.upyourface.com/testenviroment/gavick) is not at the top of the module but after anchor i am redirected in the middle of the module (i would like at the top).

Thanks
User avatar
Gold Boarder

GK User
Thu Mar 20, 2014 10:46 pm
Reply with quote
Report this post
Hi,
did you read this guide/manual: http://www.gavick.com/documentation/gen ... enu-links/

if not, please do it :)
User avatar
Platinum Boarder

GK User
Fri Mar 21, 2014 4:15 pm
Reply with quote
Report this post
Hi,

no i didn't i will thanks
User avatar
Gold Boarder

GK User
Fri Mar 21, 2014 4:49 pm
Reply with quote
Report this post
Hi,

i did.
Sorry but it is not very clear.
In your example u say that id is case-sensitivity, and in your example u say: If u have a module in position "bottom3" u need to use "#gkBottom3-1" (it was case sensitive).
In the example of only one module pubblished on this position you use "gkBottom3" without #.

Can you clearify me what i have to do? i tried all the combination but it doesn't work.
I have only 1 module in mainbody position.
Thanks
User avatar
Gold Boarder

GK User
Sat Mar 22, 2014 1:14 pm
Reply with quote
Report this post
If you have only one module - use without (-1) and please use Firebug to check ID name - to be sure! As I saw on my guide.
Every case is different.
User avatar
Platinum Boarder

GK User
Sat Mar 22, 2014 1:30 pm
Reply with quote
Report this post
Check my updated guide again, you will understand better -->
http://www.gavick.com/documentation/gen ... enu-links/
thanks for suggestion :ugeek: .

check also this: https://developer.mozilla.org/pl/docs/T ... _Inspector
User avatar
Platinum Boarder

GK User
Thu Apr 10, 2014 8:06 pm
Reply with quote
Report this post
Hi Pawel, Thanks, now it works, but just an information.
It's not possible to remove from the link the #gk suffix?
i don't like that when user go to a section of the home page the link is www.mysite.com/#gkbotton1

Any idea?
Thanks
User avatar
Gold Boarder

GK User
Thu Apr 10, 2014 8:33 pm
Reply with quote
Report this post
Yeah, there is a way.
You have to use individual # ID in content to anchor can get it.
So if you are using many Custom HTML this would be easy.
User avatar
Platinum Boarder

GK User
Thu Apr 10, 2014 8:43 pm
Reply with quote
Report this post
Can you explain better with an example?
Many thanks for your quick response
User avatar
Gold Boarder

GK User
Thu Apr 10, 2014 8:53 pm
Reply with quote
Report this post
In theory ... if you have custom HTML module you can add there anything you want for example

Code: Select all
<div id="Contact-us">
New York, East Side 007<br>
phone: 000 111 222 333
</div>


So in menu use : #Contact-us - as a link.

I hope that you understand now.
User avatar
Platinum Boarder

GK User
Thu Apr 10, 2014 9:03 pm
Reply with quote
Report this post
and in the menu voice what i have to put?
User avatar
Gold Boarder

GK User
Thu Apr 10, 2014 10:57 pm
Reply with quote
Report this post
Menu Voice ? what is that?

I was telling you to replace "#gkbotton1 " with a new one, for example "#Contact-us".
Or maybe read more about anchors in HTML.

Aslo read also this guide: http://www.gavick.com/documentation/gen ... enu-links/
- to understand the basic concepts.
User avatar
Platinum Boarder

GK User
Sat Apr 12, 2014 10:28 am
Reply with quote
Report this post
Ok i got, it's the simple "anchor" of joomla.
I did it, but on this way the problem is that i am not redirected in the right part of the module but i am redirected after the header... now way for this?
User avatar
Gold Boarder

GK User
Sat Apr 12, 2014 12:12 pm
Reply with quote
Report this post
Sorry, no solution for it :(
All OnePage layouts have some weakness.
Some advanced developers tried to add new module positions with its own ID - so it was a kind of solution.
User avatar
Platinum Boarder


cron