• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Long URL's breaking tables in posts

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a problem with long url's that are breaking the design when someone posts one. Our forum is set to 730 pixels wide and when someone posts a url that is long, it pushes the table out and breaks the whole design. I have seen scripts on other forums like phpBB that will make all url's over a certain lenghth only 20 characters long so it doesnt break the table design. Does anyone have a similar solution for JForum???

Im only a designer not a java developer, please help!

Jake
[originally posted on jforum.net by jrutter]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As a designer, how would you do it?

It is a problem of HTML itself, not JForum. If you have any suggestions of how to construct the HTML code for this, we can add the code to the main JForum distribution.

Thanks,
Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Keep the http://www.mysite.com/ part of the URI and keep the last 20 characters and then add back the characters in either truncated direction until the amount of characters hits, say 80, and then discard the middle and put ellipses to signify that the middle is not shown.

like:

http://www.mysite.com/really_..._long.html
[originally posted on jforum.net by MyJForum]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting.. can you please add it to Jira?

Thank you very much.
Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Interesting.. can you please add it to Jira?



http://www.jforum.net/jira/browse/JF-562

thanks!
[originally posted on jforum.net by MyJForum]
reply
    Bookmark Topic Watch Topic
  • New Topic