Author Topic: stupid HTML question  (Read 322 times)

Offline JB73

  • Plutonium Member
  • *******
  • Posts: 8780
stupid HTML question
« on: July 30, 2007, 07:20:08 PM »
I don't know why, but I am having a major brain malfunction here...

isn't there a way to add something to a URL that forces it into a new window, just the the target=_"blank" does in HTML?


like http://www.hitechcreations.com/target="_blank"

I swore there was something like that, I just can't remember the syntax.


oh if you are wondering why, I am working on my companies SharePoint server and some links set in there do not offer the option of that, I can't edit the source of the page, and I can't find a setting in SharePoint, but I CAN edit the URL used.
I don't know what to put here yet.

Offline eskimo2

  • Platinum Member
  • ******
  • Posts: 7207
      • hallbuzz.com
stupid HTML question
« Reply #1 on: July 30, 2007, 07:28:22 PM »

Offline JB73

  • Plutonium Member
  • *******
  • Posts: 8780
stupid HTML question
« Reply #2 on: July 30, 2007, 07:44:01 PM »
Quote
Originally posted by eskimo2
http://www.blablaba
nope, it does not allow me to put that it "xxxxx is an invalid URL"
I don't know what to put here yet.

Offline 68Hawk

  • Silver Member
  • ****
  • Posts: 1365
      • 68th Lightning Lancers
stupid HTML question
« Reply #3 on: July 30, 2007, 07:56:17 PM »
try the 'href' field first, then any other modifiers to the tag that you're using.

LinkText

Don't forget to close it.

_blank should be right though.  If you were trying in these forums then 'target' replaces 'href' with the BBS code.  If whatever you're editing isn't itself an html document then it's way over my head.  If its part of a greater document at your job they might be using javascript or other means of operating the link instead of just html.  

This might help about the tag:
http://www.w3.org/TR/html4/struct/links.html#h-12.2

Don't know but hope that might help.

edit- just reread the last part about source and URL.  The URL itself must be a URL.  I don't know of any way to imbed something within a URL like that.  The Target is a variable within the anchor tag and must be edited.  If you have control of the referenced site you can force it to open its own window though.
« Last Edit: July 30, 2007, 07:59:19 PM by 68Hawk »
68th Lightning Lancers
Fear the reaper no more fear the Lancers!
http://www.68thlightninglancers.net

Offline JB73

  • Plutonium Member
  • *******
  • Posts: 8780
stupid HTML question
« Reply #4 on: July 30, 2007, 08:11:10 PM »
hmm I get what you are saying 68, and that is the case.

WSS (Windows SharePoint Services) is a "website" that you can have and modify it only with it's own interface. It is OK, and the usefulness is for a company letting users share data and files in a database setting instead of say a mapped shared drive.

you add "web parts" to the pages, and they each have their own settings. of the standard add ons one is a "links" section.

this links section allows users to easily provide a link that may be useful to others logged into SharePoint.

the stupid part is if a user clicks a link it automatically opens in the same window, and then you lose your view / connection of SharePoint. I am the administrator and whatever link someone adds I would love to just add a flag or something to it to have it open in a new window.

Sadly here, we are forced to use IE 6.0 and SharePoint doesn't like Firefox, as it is an M$ product.
I don't know what to put here yet.

Offline JB73

  • Plutonium Member
  • *******
  • Posts: 8780
stupid HTML question
« Reply #5 on: July 30, 2007, 08:27:05 PM »
well I guess I am out of luck :furious :furious


I thought I remembered something like this but obviously not:


http://www.andrewconnell.com/blog/articles/SharepointLinksListOpenInNewWindow.aspx


and not having frontpage 2003 I can't do this either:


http://bananabiscuit.blogspot.com/2005/02/open-web-part-links-in-new-window.html
I don't know what to put here yet.

Offline 68Hawk

  • Silver Member
  • ****
  • Posts: 1365
      • 68th Lightning Lancers
stupid HTML question
« Reply #6 on: July 30, 2007, 09:00:44 PM »
You might resort to right clicking.  

I use firefox, and have the mousewheel button set to open in a new tab.  Not sure if IE does this but I'd be really surprised to hear that it didn't.

Sometimes either a default or setable hotkey exists for opening in a new window such as ctrl+click.  

OK wait, new idea.

Do you have access to the raw file or just through that WSS thing?  You can do all your additions and then just open the html file in notepad and add target="_blank" to your links.

Your only other option is to contact your network administrator and ask for something that doesn't suck.
68th Lightning Lancers
Fear the reaper no more fear the Lancers!
http://www.68thlightninglancers.net

Offline Eagler

  • Plutonium Member
  • *******
  • Posts: 18854
stupid HTML question
« Reply #7 on: July 31, 2007, 06:23:52 AM »
maybe you can find an answer HERE
"Masters of the Air" Scenario - JG27


Intel Core i7-13700KF | GIGABYTE Z790 AORUS Elite AX | 64GB G.Skill DDR5 | 16GB GIGABYTE RTX 4070 Ti Super | 850 watt ps | pimax Crystal Light | Warthog stick | TM1600 throttle | VKB Mk.V Rudder

Offline eskimo2

  • Platinum Member
  • ******
  • Posts: 7207
      • hallbuzz.com
stupid HTML question
« Reply #8 on: July 31, 2007, 06:26:40 AM »
Maybe its the browser you are testing it with that won't allow it?

Here is a complete, working, open in new window, link:

http://michaellwittig.tripod.com/blog/index.blog">Alaska Wittig Family Blog




Here is the complete, working, open in new window, link that is in my signature below:

__________________

http://hallbuzz.com/" target="_blank">hallbuzz.com - The Hall Family Web Site



Offline JB73

  • Plutonium Member
  • *******
  • Posts: 8780
stupid HTML question
« Reply #9 on: July 31, 2007, 12:25:12 PM »
I am the admin eskimo lol

Eagler those are what I linked to earlier, and the concern originally was not for me...

but for my end users who go to the site.


From what I have read especially in the 2 pages I linked to is it is a feature sorely needed in WSS and admins all over have been struggling with it.



the really difficult part is I could easily substitute in an xml web part and hand enter any links I want, with any code needed, but that does not allow site contributers to add a link they want easily.

If you have never heard of SharePoint it is a collaboration software. basically almost any user can edit the content, and add content / information. Larger companies use it for team and project management.



Well thanks for the attempts guys, I will soldier on here.
I don't know what to put here yet.

Offline Xargos

  • Platinum Member
  • ******
  • Posts: 4281
stupid HTML question
« Reply #10 on: July 31, 2007, 12:48:00 PM »
_blank

_parent

_self

_top

?
Jeffery R."Xargos" Ward

"At least I have chicken." 
Member DFC