Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MOD: Integrate country flags
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MOD: Integrate country flags

 Post Reply Post Reply Page  <12
Author
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2006 at 2:37pm
No Cry
have you?
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2006 at 2:39pm
how about an if statement between the name and extension to check spaces? if found add and concatenate? i dunno how will it be done though :S  simply dont want to write hell lot of case statements in forum posts :S
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2006 at 4:17pm
Originally posted by Ali Bilgrami Ali Bilgrami wrote:

ok some countries which has a space in their names like United Kingdom are not showing flags...in the pic properties it only shows the first word of their name...why is that? any ideas?


the reason why it does this is because you need to put quotes round the image url, if you leave it how you had it in the example (eg <img src=flags/united kingdom.gif> the space breaks the url

so try doing this:
Response.Write(vbCrLf & "  <br />" & "<img src=""flags/" & strAuthorLocation & ".gif"">")


notice the double quotes (in red) this makes the asp ignore it, and continue to the string


Edited by Scotty_32 - 30 May 2006 at 4:18pm
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2006 at 7:30am
thanks man....working like a charm
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.