ID:2243275
 
Resolved
BYOND Version:N/A (Website Bug)
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 58.0.3029.96
Applies to:Website
Status: Resolved

This issue has been resolved.
Descriptive Problem Summary:
It appears that there is no longer a way to search the entire DM reference manual, as there was before. The updated version (went live with 511 I believe) of the reference manual cuts the main frame so that it contains only the selected page.

This becomes bothersome in certain scenarios. For example, when you're trying to find which built-in procs reference a certain built in variable.

Numbered Steps to Reproduce Problem:
Navigate to http://www.byond.com/docs/ref/
Press ctrl-F.
Type in something you want to search for.
Observe it only scan the specific page currently loaded. And also note the lack of a dedicated "Search" function.

Code Snippet (if applicable) to Reproduce Problem:
N/A

Expected Results:
(Previously): You could search the entire document for key-words with Ctrl-F/F3. Wasn't the prettiest, but it worked.

Actual Results:
Ctrl-F/F3 only works on the presently loaded page. Thus making searching of the entire document for one keyword impossible.

Does the problem occur:
Every time? Or how often? Every time when you load the page with JS enabled.
In other games? N/A.
In other user accounts? Yes.
On other computers? Yes.

When does the problem NOT occur?
When you disable Javascript on the page.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
This problem did not exist in previous versions of the DM online reference manual.

Workarounds:
Disable Javascript on the page.
Also, Dream Maker comes with a fully searchable copy of the online reference, pressing F1 within the program will bring it up.
In response to Nadrew
MrStonedOne wrote:
http://byondref.com

https://github.com/byond-open-reference/byondref.com

Same issue. Though I suspect this one is due to caching.

Edit: Or not. Same issue.

Nadrew wrote:
Also, Dream Maker comes with a fully searchable copy of the online reference, pressing F1 within the program will bring it up.

I don't edit DM with DreamMaker, however. And I don't see a reason why the online reference shouldn't be searchable.
http://www.byond.com/docs/ref/info.html

It's loading properly for me, fully searchable.

You can also find the same file included in your BYOND installation, it's what the F1 reference uses.
Ah, I see the issue. If you disable javascript on the online reference it'll work fine (I have it disabled in general for speed purposes on a super old computer). Seems Lummox included some onload code that is broken.
Nadrew changed status to 'Verified'
Yup, confirming that disabling JS works around the issue.

With JS enabled, for some reason, the iframe responsible for showing contents of info.html only displays the section you've navigated to.
Right, I assume that's what the javascript was designed to do when working properly, but the initial onload is making the default content blank. Regardless, there's no reason to change it to only show what you've clicked unless a proper search field is added like the F1 reference in Dream Maker has. (Was gonna link to my javascript-powered reference for an example (since apparently they're still taking design cues from it), but I seem to have removed the search box to update it and never bothered to finish, the project hasn't been updated in like 10 years so don't go there looking for current information).

But yeah, it either needs to play nice with ctrl+F or provide its own search functionality if Lummox plans to only load one bit of information at a time.
I've been working on a fix for this (it's more complex than you might think!) and I'll update soon.
Lummox JR resolved issue
The offline version of the reference will be fixed in the next 511 build.