I am at an impasse with this page I am trying to modify for my institution. The page is somewhat proprietary and not all of the files that comprise the page are accessible to me. The only things I can get access to are 5 different files called a stylesheet(naturally), a head, a top, a bottom, and a print
So this is the page:
http://s5-sandbox.parature.com/ics/support/default.asp?deptID=15028
The issue is that below the page where you have the 2 sections for "Viewed Most Popular Topics" and "Most Recent Topics", is that the words ViewedMost run on together. Additionally the number of views and the first word of the actual topic respective of the views run on together. For example, you'll see 3869What is my Blackboard Username and COM ID?
Given the pages that I have access to, none of them have the ID for that section declared in them. It is in some .ASP page on Parature's backend. I've contacted their support and put in a ticket and did not receive any resolution. I tried emailing someone directly and a man told me something ridiculous:
If you right click on the area and click inspect element you are able to add a space either behind “view” or in
front of “most”. Either works, I’ve tried them both. The same goes for the number and the article.
I already know full well how to use the Chrome inspector but what I told this gentleman was that I don't have access to the page to add a space nor do I even know if there is an element I can use to fix the formatting. I was hoping you guys would be able to see something I do not on the page that would allow me to create the space that I am looking to add.
Thank you all.
.item:after {
content: "\00a0";
}
Related
I have an app made with Flask, and I have a problem. The app is made to be used as a presentation replacement, to be used with little children. The main page houses a bunch of links. They are made in a way that after the link has been used, it is removed from the page.
Problem is that there is only one page, so the children clicking links will remove them for the teacher. I can set a password myself, but first I need to make it so that each user can open their own version of the page.
Here is the link with dummy info.
If you find that there aren't links please feel free to comment that the links ran out. I will restart the page and the links will reappear.
I am attempting to parse a page to find out if it has a string on it that I need so I can take the appropriate action. I would usually use
New System.Net.WebClient().DownloadString(URL).ToString
This cannot be used in the instance as I need to be logged into to view the page, because of this I have attempted to get the document Text from the web browser element once the page is loaded
RichTextBox2.Text = WebBrowser1.DocumentText.ToString
Unfortunately, this does not work as the string I am looking for is not within the source of the page, it also does not appear to be referenced in the source which really confuses me but appears within the elements tab within the google chrome Developer tools.
I have been looking around on how to get a list of all the elements on the web page so that I can just see if it contains the element I am looking for but I cannot seem to find what I am looking for.
TLDR: I am looking on how to get all the elements of a loaded webpage that do not appear in the web page source.
Side Note: I cannot seem to find the element being referenced using "src" and it does not appear to be within an iframe.
Any help would be greatly appreciated as I am completely stumped.
I have looked around but if you feel I have missed something please let me know.
For those interested, I have found a workaround for my instance but this will not work and is only a bodge as there is a different value that only appears for the condition I am looking for not the actual condition.
For Each element As HtmlElement In Me.WebBrowser1.Document.All
RichTextBox3.Text = RichTextBox3.Text + (element.TagName() & "-->" & element.Id)
Next
This will show some elements I assume on the page but not all of them in my instance and not the one I was looking for but could be a good place to start for others with my issue.
As a favor for a friend, I'm trying to add a quick Valentine's Ad for an article that is supposed to be appended to the top of their existing site starting... tomorrow. They have an existing site made by somebody they are no longer in contact with back in 2010 built with Drupal.
I don't know Drupal. The only information I have is a HostGator login that I'm currently using to send a backup zip to my email.
HostGator's File menu doesn't even show search results for the text I'm searching for on the main page where I'd put this.
I have no idea what I'm doing, basically. I'm comfortable as a web developer in general and figured "yeah I can add a thing to the top of your pages, sure." I can write that HTML quickly, but everything else... do I need Drupal installed, etc, and will that run with the backup that HostGator is gonna send me?
Any advice? I realize I'm an idiot for signing up for a favor like this last minute.
Ultimately I just need to add some pictures and some text.
Easiest way to achieve this would be creating custom block. Not sure what version of Drupal you use, but let's assume it's D7 (similar for other versions):
Go to Structure -> Blocks -> Add block
Enter your static content into "Block body" field. Change that field format to "full html" so drupal won't filter out some of your tags.
If you don't want Drupal's block title to appear in Block title field enter < none > (without space signs in between! - SO can't show it without spaces).
Save your block
Now go to Structure -> Blocks...your block should be visible in block list. You can find and edit it from there.
Theme site uses has "Regions" (something like sidebars). If want your block to appear with main content find your block and select "Content" region. Or any other you want.
At top of that page should be a link "Demonstrate block regions" - click it to see which region is where..
After selecting region you can click "configure" link for your block to precise in what conditions block should appear on page. Click it.
Scroll down and in right sidebar at bottom of configure page you'll see "Pages", "Content types"... it for selecting on what pages, on what content types...your block should be visible. Default is everywhere, so if you need this - use it.
Save block. If you didn't save on Structure -> Block after selecting region select region again and Save.
You can embed your CSS there, but you can also go to (usually): /sites/all/themes/your_theme/styles/style.css or something like that.
If you can't find CSS turn the caching off for a moment: Configuration -> Development -> Performance and inspect location of loaded CSS file(s) (use browser inspection tool).
Good luck!
So I have a custom css drop down menu and it works fine except I realized that writing this menu out across all the html pages on this website will become tedious if I should update with a new section to the website and need to add on a new tier to the menu, I would end up with a billion htmls to update one simple line of code.
I was wondering, is there a way to write this menu once (on the main page) and call on it on all my other htmls?
I experimented a bit with Objects, Iframe, to call on the dropdown menu written on a separate html file and such but when the menu expands you get scroll bars and both methods seem to embed into the page. I want the contents of the page to be behind the drop down menu just as it standardly looks right now.
The following is my unedited page:
http://www.blue-cicada.net/trivial/index.html
And this is my test:
http://www.blue-cicada.net/trivial/test/
Not looking so good there, my top image is obscured, the submenus wont fly out completely etc, how to fix?
Im really new to this stuff so any help is appreciated.
You want to do something server side really, back in the day this would have been http://en.wikipedia.org/wiki/Server_Side_Includes, depending on who is hosting your site it may even still be, though that's fairly unlikely. Chances are you have some provision from your webhost to do something server side, ie PHP Includes say.
If not you could look at doing JavaScript client side includes but its crufty,
If you're really just hand editing you html files and have no access to any server side technologies well, you can always just have a text editor that can search and replace across multiple files
UPDATE
Given your comments I would just download something like Notepad++ and read the Bulk Find and Replace here 'http://www.dedoimedo.com/computers/notepadpp-tricks.html'. Basically you can have a test page you use for figuring out 'what you want to do' and then use the global find and replace to update all of the 'current' versions of the header/menu/whatever to you new version.
Backup all you files first!
Write it in a page called A.html.
On every page where you want to put it, use an <iframe src="A.html">
Make sure you remove the borders of the <iframe>, and also the scrollbars and make it look natural
I am building a page to bring attention to available parts and accessories for a product line that is otherwise burried in my web site. The parts diagrams and check-out feature is always in the same spot on the main portion of my web site, so I have put the part I need to display in an iFrame, limiting what is viewable. However, there is a single part that continues to display, as it is designed to float to the right side of the display window. Since iFrame is now the display window, this floating button is in the way. The web site I am working on is at the following address.
http://www.snoscoot.com/fcaccessories/hondapowerequipment/test.html
Here's a link to a screenshot pointing out what I need to be able to make disappear: http://i1193.photobucket.com/albums/aa354/pbucket10/buttontohide.jpg
The pages that are going to be displayed in that iFrame always have the "div" class of "newsletter". Is there is a way to block certain a certain div "id" or "class" from being displayed within an iFrame? No worries about me stealing content or copyright enfringement, this is my web site (actually owned by the company I work for; I'm their web/code monkey). Any help would be greatly appreciated; I've been wrestling with this one for a couple days now.
Using javascript, you could use:
function hideID(){
document.getElementById("WhateverIdYouWantToGetRidOf").style.display="none";
}