×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: #JOSC_TOP to #comments

#JOSC_TOP to #comments 12 years 2 months ago #15130

  • Marcin Jaracz
  • Marcin Jaracz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hi,
It is possible to change #JOSC_TOP (page adress) to #comments?

Thanks for reply.

Edit:

Ok, I figured it out. I changed that in index.html of template directory and it works fine.

Re: #JOSC_TOP to #comments 12 years 2 months ago #15144

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Marcin,
Happy that you found a solution! In the next version this anchor will be also changed.
Kind regards,
Daniel

#JOSC_TOP to #comments 11 years 4 months ago #18829

  • X-Bit
  • X-Bit's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Thank you received: 8
Hello Daniel,

I know, this thread is rather old but I think, my problem could be related.

When acessing a link with the #JOSC_TOP at the end of the URL, the comments section is shown correctly, but when I want to scroll up to the main menue, I can not reach it, it seems to be hidden at the top of the screen and I am not able to scroll there...

Just a little example...
Normal access to the site with top menu:
easycaptures.com/fs/uploaded/755/5941085201.jpg

Now, when accessing a comment directly with the #JOSC_TOP anchor, it jumps to the right place. Scrolling up to the top menu is still loaded (changing zoom factor will display it), but slips up to high and keeps hidden:
easycaptures.com/fs/uploaded/755/6401182557.jpg
(see as well www.lehrmittelperlen.net/perlen/1450-3-a...lieder.html#JOSC_TOP )

I really can not figure out, if this is a compojoomComment problem or it is related to anything other... Would it change something to change the anchor to #comments?

Thanks for your appreciated help!
X-Bit

EDIT: I really can't get a grip on it, sometimes it seams to work correctly... maybe I am to dump o just having tomatoes on my eyes :dry:
Ok... one thing seems to work. If the site isn't loaded completly on the comment view, one may scroll up and get to the top menu. But... what does this say about the problem?

EDIT 2:
Some loooong hours later I got the culprit. Seems that compojoomComment colides with a warp framework js "follower.js". For your reference find the code here: pastebin.com/fUvievDQ

Is there any solution from your side?

#JOSC_TOP to #comments 11 years 4 months ago #18831

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey,
The code that you've shared is minified - means it is suitable for machines to read it, but not for humans(I still think that I'm a human :))

Actually I think it is the script that should be fixed. You see we just create a link to a specific location on the page (anchor #josc_top). This is standard html:
www.w3schools.com/html/html_links.asp
We don't use any javascript here...

Why do you think that changing #JOSC_top to #comments is going to fix it? You can actually do that -> just modify the template -> search for #JOSC_top and replace it with #comments.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.166 seconds